mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not set hostname
This commit is contained in:
parent
30b1013b05
commit
c9079676e5
@ -349,9 +349,9 @@ setup_hostname()
|
||||
mv ${FSMNT}/etc/rc.conf.new ${FSMNT}/etc/rc.conf
|
||||
|
||||
# Set the hostname now
|
||||
echo_log "Setting hostname: ${HOSTNAME}"
|
||||
echo "hostname=\"${HOSTNAME}\"" >> ${FSMNT}/etc/rc.conf
|
||||
sed -i -e "s|my.domain|${HOSTNAME} ${HOSTNAME}|g" ${FSMNT}/etc/hosts
|
||||
# echo_log "Setting hostname: ${HOSTNAME}"
|
||||
# echo "hostname=\"${HOSTNAME}\"" >> ${FSMNT}/etc/rc.conf
|
||||
# sed -i -e "s|my.domain|${HOSTNAME} ${HOSTNAME}|g" ${FSMNT}/etc/hosts
|
||||
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user