don't redownload ubuntu iso

This commit is contained in:
Andrew Wang 2021-10-05 23:43:27 -04:00
parent 1fce04612d
commit ec78c8cf9c
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,10 @@
## Installation
If you have a ubuntu iso you want to use then create the `libvirt/vm` folder and copy it there to `ubuntu20_04.iso`
```
mkdir ~/mirror-env/libvirt/vm
cp <ubuntu iso> ~/mirror-env/libvirt/vm/ubuntu20_04.iso
```
Note: the `libvirt/vm` folder and everything in it will be deleted by `cleanup.yml`
### Prerequisites (debian)
Install QEMU and KVM

View File

@ -32,6 +32,7 @@
get_url:
url: "https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso"
dest: "{{ playbook_dir }}/vm/ubuntu20_04.iso"
force: no
- name: create mirbr0 bridge network
command: "virsh -c qemu:///system {{ item }}"