diff options
author | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2016-07-12 10:54:17 +0200 |
---|---|---|
committer | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2016-07-12 10:58:45 +0200 |
commit | d4ae056501ed0778a19beb6f207c00439f95cff3 (patch) | |
tree | fecc6fe1ca0b7938ce50213b9add576b5c75f105 /deploy/templates/virtual_environment | |
parent | f7f13befab5bf9a585f4f24018fd9561ed61b1ae (diff) |
Aligning machine type over Ubuntu and Centos
We have previously used "pc-1.0" as the qemu-kvm machine definition
for virtual Fuel deploys. On Ubuntu this points to:
pc-1.0 Standard PC (i440FX + PIIX, 1996)
On CentOS 7 this machine definition does not exist, but there's a
match in "pc":
pc RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of
pc-i440fx-rhel7.0.0
So, finally, pc is also in Ubuntu:
pc Ubuntu 14.04 PC (i440FX + PIIX, 1996) (alias of
pc-i440fx-trusty)
This change is about exploring whether moving to "pc" will make the
auto deploy work on both platforms with the "pc" machine type.
What still needs to be done in CentOS is to create a symlink from
/usr/libexec/qemu-kvm and /usr/bin/kvm though.
Change-Id: I1cce52a21075950cb59b75709b12d724d759e3e6
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Diffstat (limited to 'deploy/templates/virtual_environment')
-rw-r--r-- | deploy/templates/virtual_environment/vms/compute.xml | 2 | ||||
-rw-r--r-- | deploy/templates/virtual_environment/vms/controller.xml | 2 | ||||
-rw-r--r-- | deploy/templates/virtual_environment/vms/fuel.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/deploy/templates/virtual_environment/vms/compute.xml b/deploy/templates/virtual_environment/vms/compute.xml index 1c20b7dcd..95db87984 100644 --- a/deploy/templates/virtual_environment/vms/compute.xml +++ b/deploy/templates/virtual_environment/vms/compute.xml @@ -4,7 +4,7 @@ <currentMemory unit='KiB'>8388608</currentMemory> <vcpu placement='static'>2</vcpu> <os> - <type arch='x86_64' machine='pc-1.0'>hvm</type> + <type arch='x86_64' machine='pc'>hvm</type> <boot dev='network'/> <boot dev='hd'/> <bios rebootTimeout='30000'/> diff --git a/deploy/templates/virtual_environment/vms/controller.xml b/deploy/templates/virtual_environment/vms/controller.xml index febaf3aef..422aa39e2 100644 --- a/deploy/templates/virtual_environment/vms/controller.xml +++ b/deploy/templates/virtual_environment/vms/controller.xml @@ -4,7 +4,7 @@ <currentMemory unit='KiB'>8388608</currentMemory> <vcpu placement='static'>2</vcpu> <os> - <type arch='x86_64' machine='pc-1.0'>hvm</type> + <type arch='x86_64' machine='pc'>hvm</type> <boot dev='network'/> <boot dev='hd'/> <bios rebootTimeout='30000'/> diff --git a/deploy/templates/virtual_environment/vms/fuel.xml b/deploy/templates/virtual_environment/vms/fuel.xml index 6b06a58da..bd8e15185 100644 --- a/deploy/templates/virtual_environment/vms/fuel.xml +++ b/deploy/templates/virtual_environment/vms/fuel.xml @@ -7,7 +7,7 @@ <partition>/machine</partition> </resource> <os> - <type arch='x86_64' machine='pc-1.0'>hvm</type> + <type arch='x86_64' machine='pc'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> <bootmenu enable='no'/> |