Build agents might not have guest additions
This commit is contained in:
parent
aaf9007249
commit
4b6ce3da60
|
@ -15,6 +15,7 @@ func testConfig() map[string]interface{} {
|
|||
"ssh_username": "foo",
|
||||
"ram_size_mb": 64,
|
||||
"disk_size": 256,
|
||||
"guest_additions_mode": "none",
|
||||
packer.BuildNameConfigKey: "foo",
|
||||
}
|
||||
}
|
||||
|
@ -56,7 +57,7 @@ func TestBuilderPrepare_DiskSize(t *testing.T) {
|
|||
t.Fatalf("bad err: %s", err)
|
||||
}
|
||||
|
||||
if b.config.DiskSize != 40 * 1024 {
|
||||
if b.config.DiskSize != 40*1024 {
|
||||
t.Fatalf("bad size: %d", b.config.DiskSize)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue