From f7bd0b10ae4900d7b43a50eca490c397230615a8 Mon Sep 17 00:00:00 2001 From: Raymond Li Date: Sun, 13 Jun 2021 03:38:39 +0000 Subject: [PATCH] Move start container up --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd8eef9..3b7cc78 100644 --- a/README.md +++ b/README.md @@ -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 ```