From 10f6a21e14ceb88a020ab3539ed633f1a939f2d0 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 5 Jan 2024 16:19:34 +0200 Subject: Change python version to python3 --- README.md | 4 ++-- group_vars/all.yml | 1 + 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') }}" -- cgit v1.2.3