Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
16af6170
Commit
16af6170
authored
Jan 03, 2018
by
Igor Pecovnik
Browse files
Debian Stretch related bugfix
parent
b0c37dea
Changes
1
Hide whitespace changes
Inline
Side-by-side
softy
View file @
16af6170
...
...
@@ -174,6 +174,7 @@ echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts
echo
"${serverIP} ${HOSTNAMEFQDN} ${HOSTNAMESHORT} #ispconfig "
>>
/
etc
/
hosts
echo
"
$HOSTNAMESHORT
"
>
/
etc
/
hostname
/
etc
/
init
.
d
/
hostname
.
sh
start
>/
dev
/
null
2
>&
1
hostnamectl
set
-
hostname
$HOSTNAMESHORT
if
[[
$family
==
"Ubuntu"
]];
then
# set hostname in Ubuntu
hostnamectl
set
-
hostname
$HOSTNAMESHORT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment