This new option was added by Dmitry Nedospasov <dmitry@nedos.net>
in commit c03029e0c6509489834312f888523dee3f7bc92d
Note that this option should not appear in default configuration,
as it is not meant to be used there.
Temporarily use resolv.conf from dom0 when chrooting into domU,
to be able to run apt-get and yum inside chroot.
This permits to use different nameservers in domU, and does not
break install nor offline update from dom0.
* We could use the same functions to set a password via a --password flag
* It would nice to move more functionality to subroutines
* The current generatePassword subroutine, only generates alphanum passwords and hashes
* Long overdue clean up of 50-setup-hostname, since simply
copying the dom0's /etc/hosts file isn't reliable.
* Added a --copy-hosts option for those that do want to copy
the dom0's /etc/hosts
* Documented both options in the .conf file as well as in
the scripts
This will fix 70-install-ssh, allowing it complete postinst by
generating host SSH keys for it. The resulting RSA host key
fingerprint is printed in an Installation summary at the end
of isntall. Next step is to apply the same change to the remaining
70-install-ssh's.
This way .debs actually get copied somewhere on non
Debian/Ubuntu systems, and also this way the cache directory
can be overriden, so that the host's apt-cache doesn't get
cluttered with guest .debs.
This patch creates a cache directory on systems which do
not have a /var/cache/apt/archives/ directory. Currently
it creates a /var/cache/xen-tools/archives/ directory,
however this can easily be set to a variable which is
parsed from the configuration file.
The text::Template check should be the first check, since
otherwise some options are parsed incorrectly leading to
errors like The system is missing the common file: /bin/ls
Was used by Steve with a "semi-proprietary" service at some hoster
which does no more use it (with Xen). According to Steve nobody else
used it so we can rip out this unneeded legacy code.
This also reverts the last commit.