Commit Graph

16 Commits

Author SHA1 Message Date
Dusty Mabe 7760932d53
atomic: enable gpg verification after install
Taking the first step towards enabling gpg verification for our
users we'll make it so that the media they download will verify
gpg signatures of commits by default.

The next step is to enable gpg verification during install as well
but there is a race condition where the commit that was just created
might not yet be signed. See [1] for more details.

[1] https://pagure.io/pungi/issue/650

(cherry picked from commit 467f7dcb3c)
2017-06-25 08:54:56 -04:00
Dusty Mabe f15dd026fe
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)

(cherry picked from commit 68804358d8)
2017-05-24 01:52:47 -04:00
Dusty Mabe 6338afb23c
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

(cherry picked from commit 8f142150ba)
2017-05-08 11:38:45 -04:00
Dusty Mabe 7243faa567
atomic, cloud: disable rhgb/quiet on boot
We want more verbose output on boot.

See https://bugzilla.redhat.com/show_bug.cgi?id=510523

(cherry picked from commit a59dfe5f40)
2017-05-08 11:38:45 -04:00
Dusty Mabe d38606ec42
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.

(cherry picked from commit 4948e8c002)
2017-05-08 11:38:45 -04:00
Dusty Mabe fa047a1949
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.

(cherry picked from commit c49c95145d)
2017-04-19 17:11:19 -04:00
Jason Brooks 0c7d01ca5e
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 17:11:03 -04:00
Dusty Mabe e096cbed83 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-04-18 17:35:58 -06:00
Colin Walters d8b59962cd
atomic: Append GROWPART to d-s-s config
Rather than truncating.  This allows us to preserve any existing
configuration (e.g. overlayfs by default).

(cherry picked from commit 954957e609)
2017-03-22 20:19:02 -04:00
Dusty Mabe aefa165253
atomic: update remote delete/add for f26 alpha
Update remote delete/add code for f26 pre-release.
We won't need this code after release.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-15 16:59:09 -04:00
Dusty Mabe c8f098b393
atomic: fix ref for f26 atomic host
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-15 11:50:45 -04:00
Mohan Boddu 8f0cb7faca Branching f26 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-02-28 09:15:31 -05: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