chore: Disable IPv6 on incus nightly (#14638)

This commit is contained in:
Joshua Powers 2024-01-29 10:40:41 -07:00 committed by GitHub
parent 3844173bdb
commit f678b8c6c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -16,5 +16,14 @@ EOF'
sudo apt-get update && sudo apt-get install --yes incus
sudo incus admin init --auto
# On CircleCI instances do not have IPv6 enabled, force IPv4 usage only.
cat <<EOF | sudo incus admin init --preseed
networks:
- name: incusbr0
type: bridge
config:
ipv4.address: auto
ipv6.address: none
EOF
sudo usermod -a -G incus-admin "$(whoami)"