diff options
| author | jerome <jerome@xlinfo.fr> | 2022-09-14 14:42:04 +0000 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2022-09-14 14:42:04 +0000 |
| commit | 6374ab9cab55f1166454ee0ed248c322a720ff48 (patch) | |
| tree | 4713437d9efecb1af10e6428bef86bfa3acf8fc7 | |
| parent | 66f3849ffde148ffddcfecf0de4f89749a53d948 (diff) | |
| download | vbox-6374ab9cab55f1166454ee0ed248c322a720ff48.tar.gz vbox-6374ab9cab55f1166454ee0ed248c322a720ff48.zip | |
Update network_config0.5
| -rw-r--r-- | network_config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/network_config b/network_config index e1233f1..c80eac5 100644 --- a/network_config +++ b/network_config @@ -3,6 +3,8 @@ sudo hostnamectl set-hostname $1 +sudo sed -i "/127.0.1.1/s/.*/127.0.1.1 $1/" /etc/hosts + sudo bash -c "cat > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg << EOF network: {config: disabled} EOF" |
