From 213dbfcaaa7cc24c7cda76c9be46854c36dc4189 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 4 Nov 2014 08:30:28 -0500 Subject: [PATCH] cloud-atomic: Use LVM by default in combination with docker-storage-setup This will allow flexible expansion of direct Docker LVM. --- fedora-cloud-atomic.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks index ae288b3..6bdc6e9 100644 --- a/fedora-cloud-atomic.ks +++ b/fedora-cloud-atomic.ks @@ -24,7 +24,10 @@ services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config zerombr clearpart --all # Atomic differs from cloud - we want LVM -autopart +part /boot --size=300 --fstype="xfs" +part pv.01 --grow +volgroup atomicos pv.01 +logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos # Equivalent of %include fedora-repo.ks ostreesetup --nogpg --osname=fedora-atomic-host --remote=installmedia --url=http://kojipkgs.fedoraproject.org/mash/atomic/ --ref=fedora-atomic/rawhide/x86_64/docker-host