whiskerz007 / proxmox_hassio_lxc

MIT License
208 stars 83 forks source link

Fails because vbr0 does not have DHCP configured on the network #40

Open alzyee opened 3 years ago

alzyee commented 3 years ago
root@prox:~# bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassio_lxc/raw/master/create_container.sh)"
[INFO] Using 'local' for template storage.
[INFO] Using 'OSs' for container storage.
Updating LXC template list...
Creating LXC container...
[INFO] LXC container '118' was successfully created.
[WARNING] Some addons may not work due to ZFS not supporting 'fallocate'.
Starting LXC container...
Setting up container OS...
Updating container OS...
W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease  Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/buster-updates/InRelease  Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease  Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Installing prerequisites...
[ERROR] 100@117 Unknown failure occured.

I think this is because lxc_create.sh uses vmbr0 but my vmbr0 network is not setup for dhcp. -net0 name=eth0,bridge=vmbr0,ip=dhcp