Commit Graph

15 Commits

Author SHA1 Message Date
Dusty Mabe
d85921a078
atomic: add some comments about url locations 2017-05-25 11:27:21 -04:00
Dusty Mabe
a5b8d6075e
atomic: use the same url scheme that is used in f2{5,6} 2017-05-25 11:21:19 -04:00
Dusty Mabe
df48af3278
atomic: move to new ref
Since we recently switched to fedora/rawhide/${basearch}/atomic-host
we should start pulling from there.

[1] https://pagure.io/fedora-atomic/c/ffada30
2017-05-25 11:19:39 -04:00
Dusty Mabe
68804358d8
atomic, cloud: remove rhgb by removing plymouth
a59dfe5 caused us a few problems:
  - sed was breaking the symlink on atomic systems
  - /boot/grub2/grub.cfg is not the right file on a UEFI system
  - etc..

We'll solve this problem a different way by just not installing
plymouth in our systems, which is another way [1] to make sure
rhgb/quiet don't appear on your kernel command line.

[1] ee91db6fa3/pyanaconda/payload/__init__.py (L722-L726)
2017-05-24 01:41:20 -04:00
Dusty Mabe
8f142150ba
atomic: don't use cmdline for install mode
similar change was done for docker/cloud in f6ecdc3

cmdline makes it so that %post --erroronfail won't actually stop the
installation in a way that imagefactory will detect the problem and
fail the build. See [1] for more details.

[1] https://github.com/rhinstaller/anaconda/issues/931
2017-05-08 11:36:00 -04:00
Dusty Mabe
a59dfe5f40
atomic, cloud: disable rhgb/quiet on boot
We want more verbose output on boot.

See https://bugzilla.redhat.com/show_bug.cgi?id=510523
2017-05-08 11:35:19 -04:00
Dusty Mabe
4948e8c002
atomic, cloud: don't create none user
Anaconda doesn't seem to require it anymore so no need to create it
and then delete it.
2017-05-08 11:35:16 -04:00
Dusty Mabe
c49c95145d
atomic: update link and revert some of the cherry-pick
Update the trac link to point to the pagure issue. Also
we don't actually want to enable legacy network service.
This was also reverted for f25 in 6f3661e.
2017-04-19 16:29:22 -04:00
Jason Brooks
38c2313eef
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

(cherry picked from commit 5d987e82b3)
2017-04-19 15:59:00 -04:00
Dusty Mabe
fc0a635bc4
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
2017-03-28 16:20:25 -04:00
Colin Walters
954957e609 atomic: Append GROWPART to d-s-s config
Rather than truncating.  This allows us to preserve any existing
configuration (e.g. overlayfs by default).
2017-03-21 10:54:59 -04:00
Colin Walters
9912269d88 all: Correct path to /var/lib/systemd/random-seed
At least for Atomic Host, AFAICS it isn't actually in the final
image; not entirely sure why.  But we should be using the right
path here anyways.

https://bugzilla.redhat.com/show_bug.cgi?id=1424404
2017-02-17 15:05:13 -05:00
Colin Walters
740a9b4969 atomic: Add workaround for bash 2016-09-01 16:54:58 -04:00
Adam Williamson
4af7364074 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 11:27:40 -06: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