summaryrefslogtreecommitdiff
path: root/roles/unmount-all
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-02-24 23:42:19 +0200
committerzsdc <taras@vyos.io>2020-02-26 18:23:14 +0200
commit9fca551d381b1000d47d370dd3618172a1617fb4 (patch)
treed79001670319486f97ee76e3fce7e52c225164c6 /roles/unmount-all
parent332dbe851c44543b69e516439baf203c9bebcadc (diff)
downloadvyos-vm-images-9fca551d381b1000d47d370dd3618172a1617fb4.tar.gz
vyos-vm-images-9fca551d381b1000d47d370dd3618172a1617fb4.zip
Fixes and additions in QEMU image building
* Fixed deleting APT lists from a cache to decrease resulting image size * Added option for creating an archive with files required for boot via PXE * Added option for keeping default user when creating an image with Cloud-init
Diffstat (limited to 'roles/unmount-all')
-rw-r--r--roles/unmount-all/tasks/main.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/roles/unmount-all/tasks/main.yml b/roles/unmount-all/tasks/main.yml
index e097b2b..253ffe9 100644
--- a/roles/unmount-all/tasks/main.yml
+++ b/roles/unmount-all/tasks/main.yml
@@ -16,24 +16,6 @@
fstype: none
state: absent
-- name: Unmount {{ vyos_install_root }}/sys, {{ vyos_install_root }}/proc, {{ vyos_install_root }}/dev
- become: true
- mount:
- name: "{{ vyos_install_root }}/{{ item }}"
- src: "/{{ item }}"
- fstype: none
- state: unmounted
- with_items: [ 'sys', 'proc', 'dev' ]
-
-- name: Unmount {{ vyos_install_root }}/sys, {{ vyos_install_root }}/proc, {{ vyos_install_root }}/dev
- become: true
- mount:
- name: "{{ vyos_install_root }}/{{ item }}"
- src: "/{{ item }}"
- fstype: none
- state: absent
- with_items: [ 'sys', 'proc', 'dev' ]
-
- name: Unmount {{ vyos_install_root }}
become: true
mount: