mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
let user know the 'disk' option is not supported
This commit is contained in:
parent
511937e7ef
commit
3d6816b829
@ -679,6 +679,10 @@ def create_node(vm_, newid):
|
||||
if prop in vm_: # if the property is set, use it for the VM request
|
||||
newnode[prop] = vm_[prop]
|
||||
|
||||
# inform user the "disk" option is not supported for LXC hosts
|
||||
if 'disk' in vm_:
|
||||
log.warning('The "disk" option is not supported for LXC hosts and was ignored')
|
||||
|
||||
# LXC specific network config
|
||||
# OpenVZ allowed specifying IP and gateway. To ease migration from
|
||||
# Proxmox 3, I've mapped the ip_address and gw to a generic net0 config.
|
||||
|
Loading…
Reference in New Issue
Block a user