Commit Graph

24 Commits

Author SHA1 Message Date
Lubomir Rintel
84d28df1b2 Include size in package lists, sort them
This is done so that it's easy spot large packages that are not
necessary and identify packages that have grown in size too much
by diffing the image compose logs.

  sed "s/rpm -qa/rpm -qa --qf '%{size}\\\\t%{name}-%{version}-%{release}.%{arch}\\\\n' |sort -rn/" -i *.ks
2020-06-17 13:22:02 +02:00
Peter Robinson
6841b8b115 Remove auth line from kickstarts
The "auth --useshadow --passalgo=sha512" is long default and auth option
itself has moved to authselect and is obsolete so this actually pulls
in extra dependencies. Drop it as the shadaow and sha512 are defaults.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2019-12-06 22:22:48 +00:00
Damian Wrobel
68b6257e0e Unify obtaining 'relesever'
Continuation of https://pagure.io/fedora-kickstarts/c/19a7b3b113d97db14d27f6a86db3c7479453a5ea?branch=master
but across entire repository.
2019-07-17 10:55:01 +02:00
Zbigniew Jędrzejewski-Szmek
86e0dc18cf Use dnf instead of yum
I left the instructions for yum-langpacks around, because I'm not sure
how the dnf replacement looks. But all references to yum-the-executable
are gone.

https://fedoraproject.org/wiki/Changes/Retire_YUM_3
https://bugzilla.redhat.com/show_bug.cgi?id=1682910
2019-02-26 11:38:44 +01:00
Peter Robinson
c9fceb1c03 Fix the vagrant and bigdata cloud images
With moving to grub2 we now need to remove the extlinux bits from the
other cloud images. They were missed in the move

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-28 16:04:52 +01: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
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
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
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
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
6d305f2685 don't need grub2 package in cloud images (as we are using extlinux) 2014-06-17 08:58:26 -04:00
Matthew Miller
6cc4bb9b19 add cloud big data kickstart (currently same as the base) 2014-06-02 11:48:17 -04:00