summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <seversss265@gmail.com>2024-01-08 21:47:00 +0200
committerGitHub <noreply@github.com>2024-01-08 21:47:00 +0200
commit00ae61a5f52356cff10e565b72c97b898f5b8b01 (patch)
tree4eba66704248cd581ef9a5e1bc77c66c923a2488
parentd50d61bfa475947e14e93e324c2103fa7929fda2 (diff)
parent10f6a21e14ceb88a020ab3539ed633f1a939f2d0 (diff)
downloadvyos-vm-images-00ae61a5f52356cff10e565b72c97b898f5b8b01.tar.gz
vyos-vm-images-00ae61a5f52356cff10e565b72c97b898f5b8b01.zip
Merge pull request #43 from sever-sever/python
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 251ff48..26eb7af 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') }}"