ubuntu-ssh-reinstall/config.sample

25 lines
560 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:50:01 +00:00
PRESEED_URL="http://yourserver.tld/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//\./\-}"
2018-03-24 06:31:23 +00:00
DOMAIN="example.tld"
2016-11-13 14:18:01 +00:00
# lowercase of country code dont change it
COUNTRY_LOWER="${COUNTRY,,}"