summaryrefslogtreecommitdiff
path: root/global/overlay
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-05-09 16:45:55 +0200
committerLeif Johansson <leifj@sunet.se>2015-05-09 16:45:55 +0200
commit27e9c3a2c6fa56ec7118b407473fd766d74c2a61 (patch)
tree1fd79e8f897621d4461c7de45d8f16935a08da2a /global/overlay
parentc3d403c4f47c361fe8313cb7713f8bbba5fca432 (diff)
Diffstat (limited to 'global/overlay')
-rw-r--r--global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb b/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb
index 13c4f17..3f139db 100644
--- a/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb
+++ b/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb
@@ -49,7 +49,7 @@ runcmd:
- ["cp","/tmp/seed/bootstrap-cosmos.sh","/tmp/seed/cosmos_1.2-2_all.deb","/root"]
- ["cd","/root"]
- "cd /root && /root/bootstrap-cosmos.sh ${hostname} ${repo} ${tag}"
-
+disable_root: 0
EOF
meta_data=$(mktemp)
@@ -57,6 +57,7 @@ cat > ${meta_data} <<EOF
#cloud-config
instance-id: iid-${id}
local-hostname: ${hostname}
+disable_root: 0
EOF
dns=""