set_hostname


Description:

[ Version ( since = "0.2.0" ) ]
public void set_hostname (string hostname)

Sets the INSTALL_CONFIG_PROP_HOSTNAME parameter.

Note that some operating systems have restrictions on maximum number of, and allowed characters in hostname (or its equivalent) so it is highly recommended that you keep the actual hostname less than or equal to 15 characters long and make sure that it does not contain any characters other than ASCII alphanumeric and '-'. Otherwise unattended installation might fail.

Parameters:

this

the install config

hostname

the desired hostname