1
0
mirror of synced 2026-01-24 11:01:41 +00:00

1732 Commits

Author SHA1 Message Date
Dmitry Nedospasov
8834e669dd Correctly resolve the FQDN
* The FQDN *MUST* follow the hostname in /etc/hosts
* /etc/hostname need only contain the hostname
* Remove the 127.0.1.1 line for hosts with ips
2010-06-23 15:06:31 +02:00
Dmitry Nedospasov
995608ca6c Changed fail value and documented it, to ensure images aren't overwritten 2010-06-20 11:36:16 +02:00
Dmitry Nedospasov
14aead8537 Spruce up installation summary for empty passwords 2010-06-20 11:12:11 +02:00
Dmitry Nedospasov
aac7317f55 Update genpass documentation in --help and in .conf 2010-06-20 11:10:33 +02:00
Dmitry Nedospasov
12327183b2 Fix genpass whitespace whitespace fail 2010-06-20 11:07:19 +02:00
Dmitry Nedospasov
bdd54fbd80 Minor edit: Formating 2010-06-12 12:05:06 +02:00
Dmitry Nedospasov
97de622f89 Fixed installation summary output on failure or usage
* Set $FAIL whenever exit is called
* Set $FAIL=-1 when help or manual
2010-06-12 12:04:23 +02:00
Dmitry Nedospasov
63693d4c27 Added --password flag and documented it 2010-06-07 17:58:12 +02:00
Dmitry Nedospasov
39806f8ad0 Added a genpass flag to generate a password and install it in the guest
* 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
2010-06-07 17:37:57 +02:00
Axel Beckert
ef0eb41e3b Quote some more single quotes in HERE documents for the sake of syntax highlighting 2010-06-07 13:47:30 +02:00
Dmitry Nedospasov
671db332a3 Removed "Clean up setup-hostname" since its been commited 2010-06-05 17:12:05 +02:00
Dmitry Nedospasov
96f4026e33 Updated remaining 50-setup-hostname scripts 2010-06-05 17:09:51 +02:00
Dmitry Nedospasov
83ff7c416f Cleaned up 50-setup-hostname, added --copy-hosts option
* 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
2010-06-05 16:57:37 +02:00
Dmitry Nedospasov
a0fba6f9c7 Fixed installation summary IP output 2010-06-05 16:25:46 +02:00
Dmitry Nedospasov
7eec7171db Fix trailing whitespace 2010-06-05 01:37:29 +02:00
Dmitry Nedospasov
fd64b6efe1 Add "Log our finish", it was accidentily deleted 2010-06-03 00:11:32 +02:00
Dmitry Nedospasov
915cb05d85 Updated remaining 70-install-ssh files 2010-06-02 23:58:51 +02:00
Dmitry Nedospasov
8cf4c83936 Fix 70-install-ssh in debian, print RSA fingerprint
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.
2010-06-02 23:51:36 +02:00
Dmitry Nedospasov
9c6f708a0d Missed a 'cachepath' on one of the last commits
The variable 'cachepath' is now called 'cachedir'. I
forgot to commit one of the hunks on the last commit.
2010-06-02 20:32:15 +02:00
Axel Beckert
d1eb8704b5 Debian package: Start new changelog entry for beta2, mention GeoIP 2010-06-02 18:12:43 +02:00
Axel Beckert
a6ccc91a5c Use cdn.debian.net (GeoIP) instead of ftp.debian.org by default
See http://wiki.debian.org/DebianGeoMirror for the details
2010-06-02 18:10:07 +02:00
Axel Beckert
6bc050ae61 POD: Add parameters to options where parameters are needed, add some possible and default values 2010-06-02 17:52:43 +02:00
Axel Beckert
473ad1ccd7 Align all documentation the same way 2010-06-02 17:42:03 +02:00
Axel Beckert
4b2bed2ae4 Sync mirrors mentioned in xen-tools.conf with those used by default by xen-create-image (i.e. ftp.d.o instead of ftp.us.d.o) 2010-06-02 17:33:25 +02:00
Axel Beckert
5c5671b449 We still support Sarge, Dapper, Edgy, Feisty, Gutsy, Hardy and Intrepid as long as they don't need big efforts to support. 2010-06-02 17:29:26 +02:00
Dmitry Nedospasov
18cab071ca Change example mirrors to something we actually support 2010-06-02 17:04:24 +02:00
Dmitry Nedospasov
075b1ad00e Merge branch 'master' of git@gitorious.org:xen-tools/xen-tools 2010-06-02 17:00:17 +02:00
Dmitry Nedospasov
df036e4354 Documented the cachedir option 2010-06-02 17:00:08 +02:00
Axel Beckert
1d47ff5cb6 Use consistently one blank before and one after "=" in the default config file (except where aligned) 2010-06-02 16:59:19 +02:00
Axel Beckert
e95937b314 Use consistently blanks around "=" in the default config file 2010-06-02 16:56:45 +02:00
Dmitry Nedospasov
fa51b092af Merge branch 'master' of git@gitorious.org:xen-tools/xen-tools 2010-06-02 16:44:53 +02:00
Dmitry Nedospasov
f356b6065c Added cachedir option for manually setting a cache directory
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.
2010-06-02 16:43:48 +02:00
Axel Beckert
03ca47b988 Merge branch 'master' of gitorious.org:xen-tools/xen-tools 2010-06-02 16:24:54 +02:00
Axel Beckert
c3eb1fef9e Escape single quote to help syntax highlighting in HERE document 2010-06-02 16:24:48 +02:00
Dmitry Nedospasov
04acc115ab Create .deb cache directory on systems lacking one
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.
2010-06-02 15:32:27 +02:00
Axel Beckert
3fd6e4c941 xt-install-image: New helper function checkForCommonFilesInChroot
Don't fail on missing /bin/ls or /bin/cp, it could be on purpose
2010-05-31 14:24:26 +02:00
Axel Beckert
d9a26c8c69 Remove some more install-server cruft 2010-05-31 12:41:13 +02:00
Dmitry Nedospasov
0c4fbc1e18 Check for text::Template before any other checks
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
2010-05-31 11:29:53 +02:00
Axel Beckert
b96d8dd06f Ignore generated file t/modules.t 2010-05-30 23:52:43 +02:00
Axel Beckert
9137ee6bf1 Add Dmitry to debian/copyright debian-4.2--beta1-1 2010-05-30 22:41:52 +02:00
Axel Beckert
35aacbae82 Also update version number and date in debian/NEWS 2010-05-30 22:36:54 +02:00
Axel Beckert
4b3ecb7067 Prepare upload to Debian unstable 2010-05-30 22:33:40 +02:00
Axel Beckert
c4e3a1eed0 Remove generated file t/modules.t from the repository/source release-4.2beta1 2010-05-30 19:57:12 +02:00
Axel Beckert
156c18e79c Declare current state as Beta instead of Release Candidate 2010-05-30 19:54:26 +02:00
Axel Beckert
b39620c6da Fix bashism in Makefile: [^~] → [!~] 2010-05-30 19:50:02 +02:00
Axel Beckert
898abeb964 Separate real bugs from TODO into KNOWN_BUGS
Also mention that TODO and KNOWN_BUGS are included in the docs for the Debian package
2010-05-30 19:34:45 +02:00
Axel Beckert
3a4fda345b New bug found: xen-delete-image ignores extension setting 2010-05-27 22:04:52 +02:00
Axel Beckert
24704f0bba Reword necessarity of x-c-i to check integer options on non-digits 2010-05-27 22:01:57 +02:00
Axel Beckert
dd2487a2e9 TODO: Hooks: Add the idea of package-manager or -format based hook directories 2010-05-27 01:00:23 +02:00
Axel Beckert
6e8ce650fd TODO: Move Non-Interactive Password Handling to post-4.2 2010-05-26 23:54:25 +02:00