[cloud-init/f18: 10/10] Fix / filesystem resizing

gholms gholms at fedoraproject.org
Wed Oct 10 01:50:21 UTC 2012


commit a851231a0c6f938187d72c1469f0eb293434bd54
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Oct 9 18:40:22 2012 -0700

    Fix / filesystem resizing
    
    cloud-init previously failed to resize / correctly because it creates a
    temporary device node in /run, which Fedora happens to mount with the
    nodev option.  This fix makes it use /dev for this purpose instead.

 cloud-init-fedora.cfg |    1 +
 cloud-init.spec       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/cloud-init-fedora.cfg b/cloud-init-fedora.cfg
index f4a0603..31b51c7 100644
--- a/cloud-init-fedora.cfg
+++ b/cloud-init-fedora.cfg
@@ -6,6 +6,7 @@ ssh_pwauth:   0
 
 locale_configfile: /etc/sysconfig/i18n
 mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
+resize_rootfs_tmp: /dev
 ssh_deletekeys:   0
 ssh_genkeytypes:  ~
 syslog_fix_perms: ~
diff --git a/cloud-init.spec b/cloud-init.spec
index a87bcfd..85455fd 100644
--- a/cloud-init.spec
+++ b/cloud-init.spec
@@ -130,6 +130,7 @@ fi
 %changelog
 * Tue Oct  9 2012 Garrett Holmstrom <gholms at fedoraproject.org> - 0.7.0-1
 - Rebased against version 0.7.0
+- Fixed / filesystem resizing
 
 * Sat Sep 22 2012 Garrett Holmstrom <gholms at fedoraproject.org> - 0.7.0-0.3.bzr659
 - Added dmidecode dependency for DataSourceAltCloud


More information about the scm-commits mailing list