diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-04 10:14:15 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-04 10:14:24 +0200 |
commit | 4eded18d1cffe2bcbc432e4c14e4712b0c1ab4cb (patch) | |
tree | 903be1d7643439007ef4e39ef3d566171913f0ee /vmadm.md | |
parent | 5141d3a654e3abc8064a6ba252220426701a5f89 (diff) | |
download | vmadm-4eded18d1cffe2bcbc432e4c14e4712b0c1ab4cb.tar.gz |
feat! allow specification files to have any number of machines
Diffstat (limited to 'vmadm.md')
-rw-r--r-- | vmadm.md | 54 |
1 files changed, 27 insertions, 27 deletions
@@ -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} |