summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Andrieiev <a.andrieiev@sentrium.io>2022-08-18 19:00:21 +0300
committerAndrii Andrieiev <a.andrieiev@sentrium.io>2022-08-18 19:00:21 +0300
commit3018c334deec53cf4872cc6a1a2256533bb91c44 (patch)
tree2e10d22fe08bc88253fb56d0cf55ce35d76dd928
parent66dadf3850ea8bcab667087fc155c7ab38620b4b (diff)
downloadvyos-vm-images-3018c334deec53cf4872cc6a1a2256533bb91c44.tar.gz
vyos-vm-images-3018c334deec53cf4872cc6a1a2256533bb91c44.zip
allow expired release file
-rw-r--r--roles/install-cloud-init/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/install-cloud-init/tasks/main.yml b/roles/install-cloud-init/tasks/main.yml
index 7018e8b..db0f6e8 100644
--- a/roles/install-cloud-init/tasks/main.yml
+++ b/roles/install-cloud-init/tasks/main.yml
@@ -21,7 +21,7 @@
dest: "{{ vyos_install_root }}/etc/resolv.conf"
- name: apt-get update
become: true
- command: chroot {{ vyos_install_root }} apt-get update
+ command: chroot {{ vyos_install_root }} apt-get -o Acquire::Check-Valid-Until=false update
- name: Install cloud-init
become: true
command: chroot {{ vyos_install_root }} apt-get -t {{ vyos_branch | default('current') }} install -y cloud-init cloud-utils ifupdown