mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
Set nameservers in installer
This commit is contained in:
parent
325add4749
commit
f28c7aaefa
1 changed files with 4 additions and 0 deletions
|
@ -805,6 +805,10 @@ cp -rf $vestacp/packages $VESTA/data/
|
|||
# Installing templates
|
||||
cp -rf $vestacp/templates $VESTA/data/
|
||||
|
||||
# Set nameservers
|
||||
sed -i "s/YOURHOSTNAME1/ns1.$servername/" /usr/local/vesta/data/packages/default.pkg
|
||||
sed -i "s/YOURHOSTNAME2/ns2.$servername/" /usr/local/vesta/data/packages/default.pkg
|
||||
|
||||
# Copying index.html to default documentroot
|
||||
cp $VESTA/data/templates/web/skel/public_html/index.html /var/www/
|
||||
sed -i 's/%domain%/It worked!/g' /var/www/index.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue