diff options
author | zsdc <taras@vyos.io> | 2020-03-17 15:02:28 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2020-03-17 18:50:52 +0200 |
commit | ffd398585f441f6cc3b23e9080f48ed7fe951069 (patch) | |
tree | b0fefe40b77c703f7451c7e0eefca60c4ab9a307 /roles/create-pxe-archive | |
parent | 22e169c8ba541666f8beab483cc48c4f9508d91e (diff) | |
download | vyos-vm-images-ffd398585f441f6cc3b23e9080f48ed7fe951069.tar.gz vyos-vm-images-ffd398585f441f6cc3b23e9080f48ed7fe951069.zip |
Replaced deletion of cc_vyos by disabling modules in config
Diffstat (limited to 'roles/create-pxe-archive')
-rw-r--r-- | roles/create-pxe-archive/tasks/main.yml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/roles/create-pxe-archive/tasks/main.yml b/roles/create-pxe-archive/tasks/main.yml index 2357d12..147dd45 100644 --- a/roles/create-pxe-archive/tasks/main.yml +++ b/roles/create-pxe-archive/tasks/main.yml @@ -23,20 +23,10 @@ # We need to skip boot directory (it contain too much unneeded items) and cc_vyos.py (optionally - may conflict with User-Data handler) - name: Create new squashfs image become: true - command: "mksquashfs {{ vyos_install_root }} /tmp/vyos-pxe-{{ vyos_version }}{{ ci_tag | default() }}/filesystem.squashfs -comp gzip -no-progress -Xcompression-level 9 -e {{ vyos_install_root }}/boot -e {{ vyos_install_root }}/usr/lib/python3/dist-packages/cloudinit/config/cc_vyos.py" - when: - - pxe is defined - - pxe == "true" - - pxe_excl_module is defined - - pxe_excl_module == "true" - -- name: Create new squashfs image - become: true command: "mksquashfs {{ vyos_install_root }} /tmp/vyos-pxe-{{ vyos_version }}{{ ci_tag | default() }}/filesystem.squashfs -comp gzip -no-progress -Xcompression-level 9 -e {{ vyos_install_root }}/boot" when: - pxe is defined - pxe == "true" - - pxe_excl_module is not defined - name: Add the /boot directory become: true |