Commit Graph

42 Commits

Author SHA1 Message Date
Colin Walters
423db5a738 cloud-atomic: Switch to dl.fedoraproject.org
We don't have a mirrorlist yet.
2014-11-12 12:17:32 -05:00
Matthew Miller
f8b2d154d6 Revert "builds failed last night with "an additional 861.02 MiB is needed""
This wasn't the problem. :)

This reverts commit 4f2df51206.
2014-11-11 18:54:05 -05:00
Matthew Miller
4f2df51206 builds failed last night with "an additional 861.02 MiB is needed" 2014-11-11 11:06:49 -05:00
Colin Walters
377cf487ed cloud-atomic: Forcibly power off after %post to work around bug
The system loops with:

mkdir: cannot create directory '/oldsys': Read-only filesystem
mkdir: cannot create directory '/oldsys/sys': Read-only filesystem
mount: mount point /oldsys/sys does not exist
...
drauct Warning: Killing all remaining processes
...

--- begin loop ---
Unable to unlink device node for atomicos-root
Unable to unlink device node for live-base
rm: cannot remove /lib/drauct/hooks/shutdown/30-dm-shutdown.sh: Read-only filesystem
rm: cannot remove /lib/drauct/hooks/shutdown/30-md-shutdown.sh: Read-only filesystem
--- end loop ---

Not entirely sure what's at fault here, but this is a quick hack to
get an image building.
2014-11-10 14:22:51 -05:00
Colin Walters
09243c9986 cloud-atomic: Re-shrink rootfs partitions
mattdm changed these previously because we hit an ENOSPC error during
qcow2 image creation, but that *really* happened because the Fedora
rel-eng create-cloud-images script hardcoded 3GB.

Now that we've shrunk the content down to ~850MB, drop the defaults:

- rootfs down to 2GB.  This is enough space for a replacement of
  all content, plus a bit of spare room for logging
- /boot to 200MB.  At present, kernel+initramfs is just 30MB,
  so this is still very conservative.
2014-11-10 09:42:00 -05:00
Colin Walters
e46c512867 cloud-atomic: Drop SELinux relabeling
This should not be necessary; we have policy loaded from the Anaconda
environment.
2014-11-10 09:42:00 -05:00
Colin Walters
0ba1d1dbc6 atomic: Rewrite origin to point to metalink
Basically Anaconda-in-ImageFactory is set up to pull from the
builder, so that's what ends up in the origin file.  But that's
obviously not what we want to ship to users.

ostree/rpm-ostree do not yet have a convenient command to change this,
so brute force it with sed.

Implements https://lists.fedoraproject.org/pipermail/cloud/2014-November/004570.html
2014-11-10 09:42:00 -05:00
Matthew Miller
4971745782 cloud images -- leave persistant journal, since upcoming cloud-init no longer pulls in rsyslog 2014-11-07 21:55:36 -05:00
Matthew Miller
2a0fdd5241 nightly builds failing due to size.
enlarge so it works, and then we'll figure it out

see http://koji.fedoraproject.org/koji/taskinfo?taskID=8054050 (check the screenshot)
2014-11-06 23:08:20 -05:00
Colin Walters
fbeec77bd5 atomic: We do not support pv-grub
Atomic is HVM only, since OSTree doesn't understand grub1 at the
moment, and incentive to have it do so is low.
2014-11-06 22:40:39 -05:00
Colin Walters
b69402e4b4 atomic: Drop package deinstallation
This isn't supported; at the moment the tree has authconfig and
linux-firmware, but not firewalld.
2014-11-06 22:40:34 -05:00
Colin Walters
13cc8ee768 atomic: Switch /boot to ext4
For some reason Anaconda in Fedora rejects XFS as /boot, even though
that's what RHEL defaults to.
2014-11-05 12:39:31 -05:00
Colin Walters
4bc31dd88e cloud-atomic: Drop yum/rpm bits from %post
While it makes sense to import the GPG key, it has to be done
as part of the treecompose, because it'll drop out of the rpmdb
on the next upgrade.

For yum, it was run as part of the treecompose, not Anaconda, so
there's already no history.
2014-11-05 11:43:18 -05:00
Colin Walters
11c22f0c8d cloud-atomic: Use LVM by default in combination with docker-storage-setup
This will allow flexible expansion of direct Docker LVM.
2014-11-05 11:43:13 -05:00
Matthew Miller
5f29e730a3 updated dd extlinux mbr during post as temporary workaround for bug #1147998 2014-10-15 09:24:48 -04:00
Bruno Wolff III
d034bb6c58 Revert "design: add LuxRender and YaraRay plugin for Blender"
This reverts commit 6e96869ce3, reversing
changes made to 9142cc25d5.
2014-10-15 06:28:50 -05:00
Bruno Wolff III
de82df00d2 Revert "dd extlinux mbr during post as temporary workaround for bug #1147998"
This reverts commit 58b06553fa.

We need to go back to the broken merge.
2014-10-15 06:26:48 -05:00
Matthew Miller
58b06553fa dd extlinux mbr during post as temporary workaround for bug #1147998 2014-10-14 16:01:25 -04:00
luya
6e96869ce3 design: add LuxRender and YaraRay plugin for Blender 2014-10-13 23:50:42 -07:00
Dennis Gilmore
ad74864bd6 atomic folks decided to willy nilly change things so adjust appropriately
Conflicts:
	fedora-cloud-atomic.ks
2014-09-02 11:10:05 -05:00
Dennis Gilmore
73c399b57d atomic folks decided to willy nilly change things so adjust appropriately 2014-08-22 11:27:22 -05:00
Colin Walters
b078e8354d atomic: Switch to autopart
We actually want LVM for atomic by default, since it allows a lot more
storage flexibility.
2014-08-21 17:30:38 -05:00
Dennis Gilmore
5ae38874c7 use eth0 for the device 2014-08-21 17:28:38 -05:00
Colin Walters
89a63ee25a atomic: Switch to autopart
We actually want LVM for atomic by default, since it allows a lot more
storage flexibility.
2014-08-21 18:24:27 -04:00
Dennis Gilmore
b777098d3f attempt to install an atomic tree in 2014-08-21 10:15:30 -05:00
Dennis Gilmore
98c48cb2b2 use link as the device for netwrok in the cloud images 2014-08-20 10:47:17 -05:00
Colin Walters
7d8b302b9f atomic: Remove %post which calls fixfiles
This should be handled correctly at installation time.  If it's not, I
think what we really want is a %post --relabel or something option to
have Anaconda take care of this.
2014-07-21 14:09:24 -04:00
Colin Walters
56085be1db atomic: No need to strip out packages post-install
Anaconda doesn't require firewalld at least anymore, and in any case
we can't strip packages from the tree.
2014-07-21 14:08:46 -04:00
Colin Walters
ceba259b5a atomic: default.target is set in the tree
The compose process sets it.
2014-07-21 14:08:22 -04:00
Colin Walters
e8ca9581eb atomic: Strip GRUB1/EC2 bits
These don't work, because OSTree doesn't understand GRUB1 config
files.  We should focus on HVM.
2014-07-21 14:07:32 -04:00
Colin Walters
04ec88194a atomic: Drop %packages section
Not relevant when doing an OSTree install.
2014-07-21 14:07:03 -04:00
Colin Walters
b73614d1e1 atomic: Use ostreesetup instead of %repo
Since we're doing an OSTree install
2014-07-21 14:06:35 -04:00
Matthew Miller
d7ab22af4f fedora-release-cloud in cloud images 2014-07-11 15:48:04 -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
a272436f45 the future Fedora Atomic, although this is currently just regular. it will diverge soon 2014-06-02 12:04:23 -04:00