mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update ubuntuInit.sh
This commit is contained in:
parent
10a6e93fed
commit
c5c476f84e
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ sed -ri 's/ip6DNS2/'${ip6DNS2}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
|||
|
||||
# Disable any datahouse
|
||||
# Reference: https://github.com/canonical/cloud-init/issues/3772
|
||||
echo 'datasource_list: [ NoCloud, None ]' > /mnt/etc/cloud/cloud.cfg.d/90_dpkg.cfg
|
||||
echo 'datasource_list: [NoCloud]' > /mnt/etc/cloud/cloud.cfg.d/90_dpkg.cfg
|
||||
|
||||
# disable IPv6
|
||||
[[ "$setIPv6" == "0" ]] && {
|
||||
|
|
Loading…
Reference in a new issue