From a851231a0c6f938187d72c1469f0eb293434bd54 Mon Sep 17 00:00:00 2001 From: Garrett Holmstrom Date: Tue, 9 Oct 2012 18:40:22 -0700 Subject: [PATCH] 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(+) 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 - 0.7.0-1 - Rebased against version 0.7.0 +- Fixed / filesystem resizing * Sat Sep 22 2012 Garrett Holmstrom - 0.7.0-0.3.bzr659 - Added dmidecode dependency for DataSourceAltCloud