diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-09-16 21:52:30 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-09-16 21:52:30 +0200 |
commit | 0375e041c36556d30b7b5a3e270269a48daf0882 (patch) | |
tree | 466f9d6d9e4ca88417392796167374a4efd09afc /bin/network_configuration.sh | |
parent | d1df29a4a74dacc5da224ce042504c68b4e71ef3 (diff) | |
download | archinstall-0375e041c36556d30b7b5a3e270269a48daf0882.tar archinstall-0375e041c36556d30b7b5a3e270269a48daf0882.tar.zst archinstall-0375e041c36556d30b7b5a3e270269a48daf0882.zip |
Added scripts in /bin folder.
Diffstat (limited to 'bin/network_configuration.sh')
-rw-r--r-- | bin/network_configuration.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/network_configuration.sh b/bin/network_configuration.sh new file mode 100644 index 0000000..251f9a0 --- /dev/null +++ b/bin/network_configuration.sh @@ -0,0 +1,15 @@ + + +# Network Configuration + +touch /etc/hostname +echo $1 > /etc/hostname + +touch /etc/hosts +echo "" >> /etc/hosts +echo "127.0.0.1 localhost" >> /etc/hosts +echo "::1 localhost" >> /etc/hosts + +echo "Network configuration done - OK" +echo "" +sleep 1 |