Merge "[Launch instance Fix] Fixes booting issue when booting from volume"
This commit is contained in:
commit
849c3cc5d7
@ -474,6 +474,7 @@
|
|||||||
'volume_size': finalSpec.vol_size
|
'volume_size': finalSpec.vol_size
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
finalSpec.source_id = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@
|
|||||||
{ 'net-id': 'private', 'v4-fixed-ip': '' }
|
{ 'net-id': 'private', 'v4-fixed-ip': '' }
|
||||||
];
|
];
|
||||||
|
|
||||||
expect(finalSpec.source_id).toBe('cirros');
|
expect(finalSpec.source_id).toBe(null);
|
||||||
expect(finalSpec.flavor_id).toBe('m1.tiny');
|
expect(finalSpec.flavor_id).toBe('m1.tiny');
|
||||||
expect(finalSpec.nics).toEqual(finalNetworks);
|
expect(finalSpec.nics).toEqual(finalNetworks);
|
||||||
expect(finalSpec.key_name).toBe('keypair1');
|
expect(finalSpec.key_name).toBe('keypair1');
|
||||||
|
Loading…
Reference in New Issue
Block a user