Skip to content

Commit

Permalink
Add "set hostname" LFS compatibility into /etc/sysconfig/network.
Browse files Browse the repository at this point in the history
  • Loading branch information
cargabsj175 committed May 31, 2013
1 parent 8da4ad3 commit 0f9d43f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions scripts/vegnux-installer
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ if [ "$1" = "" ]; then
HOSTNAME=$1
echo "$HOSTNAME" > /etc/hostname
hostname -F /etc/hostname
# set /etc/sysconfig/network
echo "HOSTNAME=$HOSTNAME" > /etc/sysconfig/network
# set /etc/hosts
echo "127.0.0.1 localhost $HOSTNAME" > /etc/hosts

Expand Down
4 changes: 2 additions & 2 deletions scripts/vegnux-installer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ declare EXPIRE=
declare SHELL=/bin/bash
declare SKEL=/etc/skel
declare CREATE_MAIL_SPOOL=no
declare DEFAULT_GRUOP=users
declare ADITIONAL_GRUOPS=audio,video,disk,floppy,haldaemon,storage,optical,network,power,sys,lp
declare DEFAULT_GROUP=users
declare ADITIONAL_GROUPS=audio,video,disk,floppy,haldaemon,storage,optical,network,power,sys,lp

#Colores para salida en consola
declare red="$(echo -e '\033[1;31m')"
Expand Down

0 comments on commit 0f9d43f

Please sign in to comment.