fix for cockpit not allowing hostname changing
This commit is contained in:
parent
6eb208a4af
commit
2c3e2178b0
@ -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
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user