Commit Graph

12 Commits

Author SHA1 Message Date
Dusty Mabe 6553b85eba
zero out resolv.conf during install
Anaconda is writing an /etc/resolv.conf from the install environment.
The system should start out with an empty file, otherwise cloud-init
will try to use this information and may error:
https://bugs.launchpad.net/cloud-init/+bug/1670052

(cherry picked from commit fc0a635bc4)
2017-03-29 14:44:31 -04:00
Jonathan Lebon 015e301b25 fedora-atomic.ks: create new ref and delete old one
1. Make sure that the ref we sit on exists. This will also work around
   a subtle issue which would cause static deltas to not be used (though
   https://github.com/ostreedev/ostree/pull/710 will fix that).
2. Make sure we delete the old refs so that the commit eventually gets
   cleaned up.
2017-03-02 11:01:24 -05:00
Dusty Mabe e77c443079
atomic: use kojipkgs url everywhere
We need to use the kojipkgs url on the builders because they don't
have access to dl.fp.o. After some discussion we have just decided
to use the kojipkgs url everywhere as the dl.fp.o url is just a
redirect anyway.
2017-02-09 15:02:18 -05:00
Dusty Mabe 3fd7e8b009
atomic: build from updates ostree ref
We want to build images from ostree ref that gets updated "nightly"
but we want consumers of the image to track the two week releases.

This is part of work for ticket: https://pagure.io/releng/issue/6545
2017-02-07 17:17:19 -05:00
Dusty Mabe 8909332a6d
atomic: use the dl.fp.o url
Would be better to just go ahead and use the dl.fp.o url in our
ostreesetup command so that we don't have to worry about doing the
remote delete/add in the %post. The dl.fp.o url [1] is just a redirect
to the kojipkgs url [2] anyway.

[1] https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/
[2] https://kojipkgs.fedoraproject.org/atomic/25/
2017-02-07 17:00:50 -05:00
Colin Walters e11de770d0 atomic: Add workaround for bash 2017-01-23 10:26:41 -05:00
Dusty Mabe 0ef56672f7
Fix the url for the ostree repo
Bodhi updates https://kojipkgs.fedoraproject.org/atomic/25/ on every
stable update run. We need to point the repo there as the old location
is what was updated by pungi before F25 release.

Note that https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/
redirects to https://kojipkgs.fedoraproject.org/atomic/25/.
2016-12-05 16:46:41 -05:00
Jason Brooks 6f3661e3a5 revert network service change 2016-10-14 16:27:02 -07:00
Jason Brooks 5d987e82b3 networking fixes for f25
* removes the extra ens3 ifcfg that seems to be added
by dracut at some point (cloud base did this in their
ks a year ago in c509863)
* adds net.ifnames=0 to the bootloader line, because
that seems to be necessary to actually disable consistent
device naming
* enables the network service

see https://pagure.io/atomic-wg/issue/174
2016-10-14 10:13:10 -07:00
Adam Williamson 4fc84a77a2 manipulate network service in %post (#1369794)
Due to #1369794 , anaconda cannot currently manipulate sysv
services in F25+. So to work around this, take 'network' out of
the services lines in all kickstarts and instead manipulate
it in the %post section, with chkconfig.

Also remove rsyslog from the Atomic image services line because
it doesn't appear to be included in the OStree tree at present
and so attempting to enable the service breaks Atomic image
compose, see e.g.:

https://kojipkgs.fedoraproject.org//work/tasks/9022/15349022/oz-x86_64.log

also correct the name of the ssh service in fedora-arm-base.ks;
it's sshd not ssh.
2016-08-24 10:10:36 -07:00
Peter Robinson 8df52454c6 initial Fedora 25 branched setup
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2016-07-26 06:51:27 +01:00
Dennis Gilmore 27a0af11dd remove cloud from atomic kickstarts and point at new repo location
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-11 14:09:19 -05:00