fix for cockpit not allowing hostname changing

This commit is contained in:
Paolo Asperti 2020-03-02 11:56:31 +01:00
parent 6eb208a4af
commit 2c3e2178b0
Signed by: paspo
GPG Key ID: 06D46905D19D5182
4 changed files with 4 additions and 2 deletions

View File

@ -62,6 +62,7 @@ fi
for net in `find /sys/class/net/ -mindepth 1 ! -name lo | cut -d '/' -f5`; do
echo "network --activate --onboot=yes --bootproto=dhcp --device=$net" --nameserver=8.8.8.8 >>/tmp/network-include
done
echo "network --nameserver=8.8.8.8 --hostname=pdc.libre.school" >> /tmp/network-include
# set encrypted fs
if [ -z $fspassword ]; then

View File

@ -1,6 +1,7 @@
#platform=x86, AMD64, or Intel EM64T
#version=RHEL7
echo "network --nameserver=8.8.8.8 --hostname=pdc.libre.school" >> /tmp/network-include
#
# Selected packages
#

View File

@ -62,7 +62,7 @@ fi
for net in `find /sys/class/net/ -mindepth 1 ! -name lo | cut -d '/' -f5`; do
echo "network --activate --onboot=yes --bootproto=dhcp --device=$net" >>/tmp/network-include
done
echo "network --nameserver=8.8.8.8 --hostname=localhost.localdomain" >> /tmp/network-include
echo "network --nameserver=8.8.8.8 --hostname=pdc.libre.school" >> /tmp/network-include
# set keyboard
if [ -z $keyboard ]; then

View File

@ -62,7 +62,7 @@ fi
for net in `find /sys/class/net/ -mindepth 1 ! -name lo | cut -d '/' -f5`; do
echo "network --activate --onboot=yes --bootproto=dhcp --device=$net" >>/tmp/network-include
done
echo "network --nameserver=8.8.8.8 --hostname=localhost.localdomain" >> /tmp/network-include
echo "network --nameserver=8.8.8.8 --hostname=pdc.libre.school" >> /tmp/network-include
# set keyboard
if [ -z $keyboard ]; then