summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
Diffstat (limited to 'vmadm.md')
-rw-r--r--vmadm.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/vmadm.md b/vmadm.md
index 8881a0a..1a056ac 100644
--- a/vmadm.md
+++ b/vmadm.md
@@ -66,10 +66,14 @@ given file init.yaml
given file .ssh/id_rsa.pub from init_ssh_key_pub
given file expected/meta-data from init-metadata
given file expected/user-data from init-userdata
-when I invoke vmadm cloud-init init.yaml actual
+when I invoke vmadm cloud-init --config config.yaml init.yaml actual
then directories actual and expected are identical
~~~
+~~~{#config.yaml .file. yaml}
+image_directory: images
+---
+
~~~{#init.yaml .file .yaml}
name: init-test
ssh_key_files:
@@ -83,7 +87,7 @@ ecdsa_host_cert: ecdsa-certificate
ed25519_host_key: ed25519-private
ed25519_host_cert: ed25519-certificate
base: /home/liw/tmp/debian-10-openstack-amd64.qcow2
-image: init.qcow2
+image: images/init.qcow2
image_size_gib: 5
memory_mib: 2048
cpus: 1