Disable vhd on aarch64

The ppa with the special vhd packages doesn't have arm support;
disable this.

Change-Id: I214b2d3a317a3ef072a87393f178a441a85881ec
This commit is contained in:
Ian Wienand 2018-02-21 10:48:59 +11:00
parent dae2c5809f
commit 97b05c1432
1 changed files with 11 additions and 1 deletions

View File

@ -25,7 +25,17 @@ class nodepool::builder(
$zuulv3 = false,
) {
include ::diskimage_builder
# This requires custom packages which aren't build for arm64; if we
# ever have a need we can re-evaluate this.
if ($::architecture == 'aarch64') {
$support_vhd = false
} else {
$support_vhd = true
}
class { '::diskimage_builder':
support_vhd => $support_vhd,
}
if ! defined(File['/home/nodepool/.ssh']) {
file { '/home/nodepool/.ssh':