Anytime I try to do container updates, they don't resolve.
I have done for debian
What am I missing? I can connect to the container through SSH, but I can't access the mirrors for updates from the container
I have done for debian
Code:
nano /etc/resolv.conf
nameserver 10.1.222.99
Code:
nano /etc/hostname
staging
localhost
Code:
nano /etc/hosts/
10.1.222.99 staging
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
Code:
nano /etc/network/interfaces
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
auto venet0:0
iface venet0:0 inet static
address 10.1.222.99
netmask 255.255.255.255
gateway 10.1.222.1
Last edited: