Support rinse 2.0
With rinse 2.0 the --arch option in mandatory. Let it default to the Dom0's architecture.
This commit is contained in:
@@ -821,7 +821,24 @@ sub do_rinse
|
||||
{
|
||||
$command .= " --arch $CONFIG{'arch'}";
|
||||
}
|
||||
else
|
||||
{
|
||||
my $uname_machine = `uname -m`;
|
||||
chomp($uname_machine);
|
||||
|
||||
if ($uname_machine eq 'x86_64')
|
||||
{
|
||||
$command .= " --arch amd64";
|
||||
}
|
||||
elsif ($uname_machine =~ /^i[3-6]86$/) {
|
||||
$command .= " --arch i386";
|
||||
}
|
||||
else
|
||||
{
|
||||
die "Local architecture ($uname_machine) not supported by rinse.\n".
|
||||
"Please choose a supported installation architecture (i386 or amd64) explicitly."
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Propogate the verbosity setting.
|
||||
|
||||
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -7,6 +7,7 @@ xen-tools (4.3~dev-1) UNRELEASED; urgency=low
|
||||
- Supports creating Ubuntu 12.04 Precise and 12.10 Quantal DomUs
|
||||
- Supports creating CentOS 6 DomUs (Thanks Johan Schurer)
|
||||
+ Recommend rinse >= 1.9.1-1
|
||||
- Supports rinse 2.0
|
||||
- Updated mirror list for discontinued releases of Debian and Ubuntu
|
||||
- Workaround for missing unit parsing in xen-create-nfs (Closes:
|
||||
#648814)
|
||||
|
||||
Reference in New Issue
Block a user