summaryrefslogtreecommitdiff
path: root/roles/install-guest-agent
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2021-04-06 19:45:09 +0300
committerzsdc <taras@vyos.io>2021-04-06 19:45:09 +0300
commit090e5367dc6df9b49c037e0b60f7adfafdf54a53 (patch)
treeff29b182c2773396170860a2ac5e90911fc9b6b5 /roles/install-guest-agent
parent97778528559a943c481161d5b4848538b9acdbb5 (diff)
downloadvyos-vm-images-090e5367dc6df9b49c037e0b60f7adfafdf54a53.tar.gz
vyos-vm-images-090e5367dc6df9b49c037e0b60f7adfafdf54a53.zip
Fixes for Cloud-init, code optimization
- Cleaned up APT configuration code. - Added ifupdown to Cloud-init install. This is required for all datasources that fetch data from remote hosts. - Fixed error that stops playbook if the `custom_debs` directory is empty and `-e custom_packages=true` is used.
Diffstat (limited to 'roles/install-guest-agent')
-rw-r--r--roles/install-guest-agent/tasks/main.yml4
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/install-guest-agent/tasks/main.yml b/roles/install-guest-agent/tasks/main.yml
index 3c0985c..fc864fc 100644
--- a/roles/install-guest-agent/tasks/main.yml
+++ b/roles/install-guest-agent/tasks/main.yml
@@ -1,7 +1,3 @@
-- name: Get Debian version
- become: true
- command: chroot {{ vyos_install_root }} awk 'match($0, /VERSION=.*\((\w+)\)/, version) { print version[1] }' /etc/os-release
- register: debian_version
- name: Set VyOS branch name crux
set_fact:
vyos_branch: "crux"