don't redownload ubuntu iso

master
Andrew Wang 1 year ago
parent 1fce04612d
commit ec78c8cf9c
  1. 6
      libvirt/README.md
  2. 1
      libvirt/main.yml

@ -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

@ -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 }}"

Loading…
Cancel
Save