Merge branch 'master' of git.uwaterloo.ca:csc/syscom-dev-environment
This commit is contained in:
commit
06281a4137
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue