don't redownload ubuntu iso
This commit is contained in:
parent
1fce04612d
commit
ec78c8cf9c
|
@ -1,4 +1,10 @@
|
||||||
## Installation
|
## 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)
|
### Prerequisites (debian)
|
||||||
|
|
||||||
Install QEMU and KVM
|
Install QEMU and KVM
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: "https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso"
|
url: "https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso"
|
||||||
dest: "{{ playbook_dir }}/vm/ubuntu20_04.iso"
|
dest: "{{ playbook_dir }}/vm/ubuntu20_04.iso"
|
||||||
|
force: no
|
||||||
|
|
||||||
- name: create mirbr0 bridge network
|
- name: create mirbr0 bridge network
|
||||||
command: "virsh -c qemu:///system {{ item }}"
|
command: "virsh -c qemu:///system {{ item }}"
|
||||||
|
|
Loading…
Reference in New Issue