1
0
mirror of synced 2026-01-20 17:38:02 +00:00

1458 Commits

Author SHA1 Message Date
Axel Beckert
9f517cb4c3 Re-add --genpass-len for backwards compatibility 2010-07-15 18:18:52 +02:00
Axel Beckert
f115c3db60 Merge commit '0f751d1' 2010-07-15 18:17:32 +02:00
Axel Beckert
e6f57bdebe Re-add --no-hosts and --copy-hosts for backwards compatibility and declare them deprecated 2010-07-15 18:14:16 +02:00
Stéphane Jourdois
0e039f39c5 Use hvc0 instead of tty1.
hvc0 is the new default serial line.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
66a4a399ab Use intrepid sed script for inittab
This makes t/hook-inittab.t pass for this hook.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
6a66d4f068 Disable other getty lines as debian does.
This makes t/hook-inittab.t pass for this hook.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
9e43d6a268 Use long options for xt-guess-suite-and-mirror 2010-07-15 14:18:19 +02:00
Stéphane Jourdois
4021344d94 Strip single quotes as well as double quotes. 2010-07-15 14:18:19 +02:00
Stéphane Jourdois
d36672f8d8 Update indentation for options.
This helps t/getopt.t to pass.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
0f751d1d26 Rename genpass-len to genpass_len to match default config.
This makes prove t/argument-check.t pass.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
d8e4774bcf Remove hyphen in options.
Options no-hosts and copy-hosts do not have hyphens in default
configuration.
This helps to prove t/argument-check.t.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
a6cd6d6eb0 Use same conventions for options as other scripts.
This makes t/getopt.t pass.
2010-07-15 14:18:19 +02:00
Stéphane Jourdois
c0c5c3a8f4 Skip Xen::Tools tests
Those modules are not used for now.
2010-07-15 14:18:19 +02:00
Axel Beckert
4b58d7a1c4 Add Stéphane Jourdois to AUTHORS 2010-07-15 09:32:30 +02:00
Axel Beckert
c78dc0ab77 Remove redundant * in string comparison, remove trailing whitespace 2010-07-15 09:29:05 +02:00
Axel Beckert
2bd526df23 Document how multiple nameservers should be delimited 2010-07-15 09:28:10 +02:00
Stéphane Jourdois
774dbd0fb9 Document vifname config option in xen-create-image
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.
2010-07-10 11:49:40 +02:00
Stéphane Jourdois
a2ea01f039 Document bridge config option in default configuration.
This new option was added by Dmitry Nedospasov <dmitry@nedos.net>
in commit c03029e0c6509489834312f888523dee3f7bc92d
2010-07-10 11:43:20 +02:00
Stéphane Jourdois
f032178de9 Add new nameserver config option
This optional config value is used in hooks to create domU resolv.conf.
If unset, domU's resolv.conf is created by the guest distrib install.
2010-07-10 11:38:03 +02:00
Stéphane Jourdois
09f38740c8 Use dom0 resolv.conf when chrooting
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.
2010-07-10 10:51:38 +02:00
Stéphane Jourdois
674557233f Use new script name in POD 2010-07-10 10:07:55 +02:00
Stéphane Jourdois
4e9b216c86 Typos 2010-07-10 09:58:24 +02:00
Stéphane Jourdois
0cb518bc5a Generate ChangeLog during package build
dpkg-buildpackage fails to install changelog unless it is generated before.
Build it after manpages.
2010-07-10 09:49:56 +02:00
Stéphane Jourdois
d6d5026484 harden git usage in Makefile
1) 'git st' is an user alias.
2) 'git status' fails if in the middle of a commit (ie. local modified files).

'git ls-files' is more robust, use it in Makefile.
2010-07-10 09:46:46 +02:00
Dmitry Nedospasov
be205d307e Typos/whitespace fixes 2010-07-05 10:19:06 +02:00
Dmitry Nedospasov
3359c10349 Minor fix, can't delete image w/out hostname 2010-07-05 10:15:38 +02:00
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