To install and configure a Linux Host automatically via script, install and configure one Host manually, this will generate the custom host.xml and host.lic files with the desired settings for the production environment (the XML’s will be saved in /var/opt/impero/host/).

Then create an install script as follows (running as sudo):

perl –serial <serial_number_for_the_host>

service imperohostd stop

cp host.xml /var/opt/impero/host/host.xml

service imperohostd start


Copy from a machine that is manually configured using these 2 files in 

/Library/Application Support/Impero/host/

host.xml contains the running configuration.

host.lic contains the license.

In order to stop and start the Host In your script run the following commands:

launchctl unload -S Aqua /Library/LaunchAgents/com.impero.GUIAgent.plist

launchctl load -S Aqua /Library/LaunchAgents/com.impero.GUIAgent.plist