ubuntu-ssh-reinstall/config.sample

25 lines
570 B
Plaintext
Raw Normal View History

2016-11-13 14:18:01 +00:00
#!/bin/bash
# country
COUNTRY='IR'
# network: check network before create iso file
INTERFACE_DEV='eth0'
INTERFACE_IP='10.1.1.100'
INTERFACE_NETMASK='255.255.255.0'
INTERFACE_GATEWAY='10.1.1.1'
INTERFACE_NAMESERVERS='4.2.2.4'
# preseed file: upload created preseed.cfg to your own host before reboot system
2016-11-13 16:00:46 +00:00
PRESEED_URL="https://mhf-ir.github.io/preseed.cfg"
2016-11-13 14:18:01 +00:00
# ssh installer password
PASSWORD="tHISiSpASSWORD"
# hostname and domain
2016-11-13 15:45:24 +00:00
HOSTNAME="${INTERFACE_IP//\./\-}"
2016-11-13 14:18:01 +00:00
DOMAIN="servers.aasaam.net"
# lowercase of country code dont change it
COUNTRY_LOWER="${COUNTRY,,}"