Commit Graph

29 Commits

Author SHA1 Message Date
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
Adam Williamson
aca01e6eea drop rsyslog service from all cloud kickstarts
it's no longer pulled in by cloud-init (since 2014...). None
of these kickstarts has it in %packages, and it's not in any
of the cloud environment or package groups in comps either. So
it seems like no-one particularly wants rsyslog in the cloud
images.

From compose logs, it looks like trying to enable a non-existent
service in anaconda in Fedora 24 and earlier wasn't a fatal
error (anaconda more or less logged a warning and continued),
but in Fedora 25 and later it does seem to be fatal. It at least
causes one anaconda thread to crash, though the image compose
completes. I think possibly at least the way anaconda's run
in the Cloud compose process, the main thread manages to exit,
but it seems pretty likely the thread crash will result in
problems in the produced image.

Needed on master and f25.
2016-08-24 11:11:01 -07: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
Peter Robinson
78114bb82f adjust linux-firmware for cloud images 2015-09-23 07:16:18 +01:00
Kevin Fenzi
9f254062c3 Switch md5 to sha512. Fixes bug #1234068
This is pretty cosmetic as live and cloud images don't use passwords
and they install with sha512 fine, but some people may use these
kickstarts as a base for their spins, so we should use best practices.
2015-06-21 10:38:20 -06:00
Matthew Miller
f59d761db7 cloud images -- leave persistant journal, since upcoming cloud-init no longer pulls in rsyslog 2014-11-07 22:04:33 -05:00
Matthew Miller
0679b37d65 Revert "Use fstrim to zero out empty space rather than forcing it with dd"
Nope -- still does not work

This reverts commit 99c9224ef5.
2014-11-03 15:27:08 -05:00
Matthew Miller
99c9224ef5 Use fstrim to zero out empty space rather than forcing it with dd
This didn't work with appliance-creator but _should_ for imagefactory. It's
a whole lot faster too.
2014-10-23 15:30:24 -04:00
Matthew Miller
7f202a0e53 dd extlinux mbr during post as temporary workaround for bug #1147998 2014-10-14 16:00:42 -04:00
Matthew Miller
5f0fcd1d5e put the remove-firewalld code back -- apparently still needed and having it
there is breaking openstack
2014-10-02 13:23:32 -04:00
Matthew Miller
cc5246b9ba fixes from Ian McLeod to make composes work using new scheme.
NOTE: this WILL NOT WORK without other changes to coms and spin/install (but
the current ones are broken anyway so I'm committing this).

See https://lists.fedoraproject.org/pipermail/cloud/2014-September/004207.html
for details
2014-09-09 14:07:02 -04:00
Matthew Miller
44dd601bc4 put experimental cloud spin back to same as base cloud spin exept for i18n/docs 2014-07-11 11:54:19 -04:00
Matthew Miller
b5c6a9265b fedora-release-cloud in cloud images 2014-07-11 11:01:56 -04:00
Matthew Miller
398ba1441b use hd0,0 in the grub.conf since we're switching to full-disk images instead of single partition 2014-07-08 14:50:29 -04:00
Matthew Miller
e60fa6ff31 name of net-renaming systemd file changed; changed to match
put network back to "unpredicatable" so that predictable eth0 is the default
on all images regardless of virtualized hardware
2014-07-07 11:36:15 -04:00
Matthew Miller
0edba30722 experimental cloud image -- go back to cloud-init, since no one is currently working on developing min-cloud-agent 2014-06-27 01:21:57 -04:00
Matthew Miller
841a2908f4 Revert "Revert "use no_timer_check boot option -- see https://bugzilla.redhat.com/show_bug.cgi?id=1102592#c5""
Yesterday was not a good day for doing things without double-checking. I
reverted this on the wrong branch. It *should* be here on this one. So, I'm
re-reverting. Awesome.

This reverts commit c90a8409a4.
2014-06-19 08:29:32 -04:00
Matthew Miller
c90a8409a4 Revert "use no_timer_check boot option -- see https://bugzilla.redhat.com/show_bug.cgi?id=1102592#c5"
Dennis says to not to. :)

This reverts commit 604f71d449.
2014-06-18 11:16:17 -04:00
Matthew Miller
604f71d449 use no_timer_check boot option -- see https://bugzilla.redhat.com/show_bug.cgi?id=1102592#c5 2014-06-18 10:55:41 -04:00
Matthew Miller
48da3aacb7 use --extlinux instead of extlinux 2014-06-18 09:22:34 -04:00
Matthew Miller
dba6e97afe use persistent journal in experimental cloud image 2014-06-18 09:06:37 -04:00
Matthew Miller
88e267d5b7 install only US english to keep size down (experimental cloud image only) 2014-06-17 09:20:07 -04:00
Matthew Miller
596e4a84f7 excludedocs (in the "experimental" cloud image only for now) 2014-06-17 09:17:23 -04:00
Matthew Miller
6d305f2685 don't need grub2 package in cloud images (as we are using extlinux) 2014-06-17 08:58:26 -04:00
Matthew Miller
c42bafdd9b use cmdline instead of text for experimental cloud kickstart 2014-06-13 08:54:46 -04:00
Dennis Gilmore
2b7bfc67a5 make sure authoconfig is installed so anaconda does not puke 2014-06-12 17:37:18 -05:00
Matthew Miller
e8e1e59fb0 don't include and remove firewalld -- anaconda can now handle that 2014-06-02 14:51:48 -04:00
Matthew Miller
26cce5f5dc experimental cloud spin: use min-cloud-agent instead of cloud-init 2014-06-02 14:48:31 -04:00
Matthew Miller
f8d6e01d07 experimental cloud kickstart, initially based on cloud-base 2014-06-02 11:21:24 -04:00