Move start container up

This commit is contained in:
Raymond Li 2021-06-13 03:38:39 +00:00
parent b3cc8f933f
commit f7bd0b10ae
1 changed files with 1 additions and 1 deletions

View File

@ -138,6 +138,7 @@ install python3 in it before running the corresponding playbooks. For example,
to setup the DNS container, run the following **as root**:
```
lxc-create -t download -n dns -- -d debian -r buster -a amd64
lxc-start -n dns
chroot /var/lib/lxc/dns/rootfs
echo 'nameserver 1.1.1.1' > /etc/resolv.conf
apt update
@ -159,7 +160,6 @@ apt install -y ansible python3-lxc
Now we are ready to run the playbook:
```
lxc-start -n dns
ansible-playbook dns/main.yml
```