summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
Diffstat (limited to 'vmadm.md')
-rw-r--r--vmadm.md54
1 files changed, 27 insertions, 27 deletions
diff --git a/vmadm.md b/vmadm.md
index 1a056ac..d14fc3d 100644
--- a/vmadm.md
+++ b/vmadm.md
@@ -3,14 +3,14 @@
This section has some data files used by scenarios.
~~~{#smoke.yaml .file .yaml}
-name: smoke
-ssh_key_files:
- - .ssh/id_rsa.pub
-base: base.qcow2
-image: smoke.qcow2
-image_size_gib: 5
-memory_mib: 2048
-cpus: 1
+smoke:
+ ssh_key_files:
+ - .ssh/id_rsa.pub
+ base: base.qcow2
+ image: smoke.qcow2
+ image_size_gib: 5
+ memory_mib: 2048
+ cpus: 1
~~~
~~~{#ssh_key .file}
@@ -64,10 +64,10 @@ correctly.
given an installed vmadm
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
+given file expected/init-test/meta-data from init-metadata
+given file expected/init-test/user-data from init-userdata
when I invoke vmadm cloud-init --config config.yaml init.yaml actual
-then directories actual and expected are identical
+then directories actual/init-test and expected/init-test are identical
~~~
~~~{#config.yaml .file. yaml}
@@ -75,22 +75,22 @@ image_directory: images
---
~~~{#init.yaml .file .yaml}
-name: init-test
-ssh_key_files:
- - .ssh/id_rsa.pub
-rsa_host_key: rsa-private
-rsa_host_cert: rsa-certificate
-dsa_host_key: dsa-private
-dsa_host_cert: dsa-certificate
-ecdsa_host_key: ecdsa-private
-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: images/init.qcow2
-image_size_gib: 5
-memory_mib: 2048
-cpus: 1
+init-test:
+ ssh_key_files:
+ - .ssh/id_rsa.pub
+ rsa_host_key: rsa-private
+ rsa_host_cert: rsa-certificate
+ dsa_host_key: dsa-private
+ dsa_host_cert: dsa-certificate
+ ecdsa_host_key: ecdsa-private
+ 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: images/init.qcow2
+ image_size_gib: 5
+ memory_mib: 2048
+ cpus: 1
~~~
~~~{#init_ssh_key_pub .file}