From ac738685fbcf58a145d7de0160c32a1553c46479 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 11 Jul 2013 08:21:51 -0700 Subject: [PATCH] Make cloud-init-nocloud work cross-platform. Previously debconf was used and thus this only worked on dpkg based systems. Now we can support any system that runs a reasonably recent cloud-init. Change-Id: I1397aefb3af400adcfd98f858c5a32fad2b584b5 --- .../install.d/05-set-cloud-init-sources | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/elements/cloud-init-nocloud/install.d/05-set-cloud-init-sources b/elements/cloud-init-nocloud/install.d/05-set-cloud-init-sources index 7c19e03f..681ce724 100755 --- a/elements/cloud-init-nocloud/install.d/05-set-cloud-init-sources +++ b/elements/cloud-init-nocloud/install.d/05-set-cloud-init-sources @@ -1,6 +1,6 @@ #!/bin/bash -printf "%s\t%s\t%s\t%s\n" \ - cloud-init cloud-init/datasources multiselect "NoCloud, None" | \ - debconf-set-selections -DEBIAN_FRONTEND=noninteractive dpkg-reconfigure cloud-init +cat > /etc/cloud/cloud.cfg.d/91-local-metadata-only.cfg <