linuxmuster / linuxmuster-base7

Mangement scripts for linuxmuster.net V7
GNU General Public License v3.0
13 stars 8 forks source link

Hostname or servername ? #67

Closed kiarn closed 5 years ago

kiarn commented 5 years ago

Hello @HappyBasher,

Wenn using linuxmuster-setup -u -c /tmp/setup.ini, the new parameter servername = blabla is ignored :

------------------------------------------------------------------------------
#### linuxmuster-setup startet at 2019-03-25 21:05:49                     ####
------------------------------------------------------------------------------
Custom inifile /tmp/setup.ini given on cli, ignoring other arguments!
------------------------------------------------------------------------------
#### ini                                                                  ####
#### Reading /usr/share/linuxmuster/setupdefaults.ini .......... Success! ####
#### Reading /var/lib/linuxmuster/setup.ini .................... Success! ####
#### Reading /var/cache/linuxmuster/custom.ini ................. Success! ####
#### * Domainname ....................................... linuxmuster.lan ####
#### * Servername ................................................ server ####
#### * Server-IP ............................................... 10.0.0.1 ####
#### * Bitmask ....................................................... 12 ####
#### * DHCP range ................................. 10.0.0.100-10.0.0.200 ####

and I am wondering if it is related to this line : https://github.com/linuxmuster/linuxmuster-base7/blob/233b153d34bcb6a8f2ee4523a909139650ced2ce/lib/setup.d/a_ini.py#L74 Or do we have to add an entry hostname = ... in /tmp/setup.ini ?

I'm facing this problem when an user finish the setup wizard in the webui and have to be redirected to the new url.