ac738685fb
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
6 lines
176 B
Bash
Executable file
6 lines
176 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cat > /etc/cloud/cloud.cfg.d/91-local-metadata-only.cfg <<EOF
|
|
# No cloud metadata available, use only what is in the image.
|
|
datasource_list: [ NoCloud, None ]
|
|
EOF
|