change from copyin to upload in virt-customise cmd
This commit is contained in:
parent
f648ce0448
commit
0ada17f736
@ -40,7 +40,7 @@
|
||||
virt-customize --format qcow2 \
|
||||
-a {{ root_vhd_pool_dir }}/{{ vm_name }}_vda.qcow2 \
|
||||
--hostname {{ vm_name }}.{{ vm_domain }} \
|
||||
--copy-in /tmp/eno1_{{ vm_name }}.network:/etc/systemd/network/10-eno1.network \
|
||||
--upload /tmp/eno1_{{ vm_name }}.network:/etc/systemd/network/10-eno1.network \
|
||||
--append-line "/etc/hosts:127.0.1.1 {{ vm_name }}.{{ vm_domain }} {{ vm_name }}"
|
||||
--password ladmin:password:{{ hostvars[vm_name]['ansible_become_pass'] }} \
|
||||
--root-password password:{{ hostvars[vm_name]['ansible_root_pass'] }} \
|
||||
|
Loading…
Reference in New Issue
Block a user