summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-05 16:19:34 +0200
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-01-05 16:19:34 +0200
commit10f6a21e14ceb88a020ab3539ed633f1a939f2d0 (patch)
tree1b9d78499e80cd4be77c796224aa8aa3c2780c4e
parent9976d4456352d051002ffa03148262182f7fee90 (diff)
downloadvyos-vm-images-10f6a21e14ceb88a020ab3539ed633f1a939f2d0.tar.gz
vyos-vm-images-10f6a21e14ceb88a020ab3539ed633f1a939f2d0.zip
Change python version to python3
-rw-r--r--README.md4
-rw-r--r--group_vars/all.yml1
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index ad2b98c..ce36bc8 100644
--- a/README.md
+++ b/README.md
@@ -4,11 +4,11 @@
## Requirements
-You need a machine with at least 20 GB free space with Debian 10 (bare-metal, virtual, Docker container with --privileged flag). Also, you need to install ansible and python packages:
+You need a machine with at least 20 GB free space with Debian 10 (bare-metal, virtual, Docker container with --privileged flag). Also, you need to install ansible and python3 packages:
```
sudo apt update
-sudo apt install -y ansible python
+sudo apt install -y ansible python3
```
If you want to build an OVA image, you also need `ovftool` from VMware. It should be downloaded from the [VMware site](https://code.vmware.com/tool/ovf). Also, you need a private key to sign an OVA file. It can be generated with the next command:
diff --git a/group_vars/all.yml b/group_vars/all.yml
index 26dec53..6491a66 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
@@ -1,4 +1,5 @@
ansible_host_key_checking: False
+ansible_python_interpreter: /usr/bin/python3
vyos_iso_url: https://s3.amazonaws.com/s3-us.vyos.io/rolling/current/vyos-rolling-latest.iso
vyos_iso_local: "{{ iso_local | default('/tmp/vyos.iso') }}"