We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a07ecb commit dd1ae5bCopy full SHA for dd1ae5b
1 file changed
staff/sys/makevm
@@ -256,6 +256,20 @@ def _main(args):
256
print('Cancelled.')
257
sys.exit(2)
258
259
+ if args.ceph and args.vg != 'vg':
260
+ print("Warning: You have Ceph backing storage, but specified a non-default VG")
261
+
262
+ if not confirm():
263
+ print('Cancelled.')
264
+ sys.exit(2)
265
266
+ if not args.ceph and args.ceph_pool != 'vm':
267
+ print("Warning: You have LVM backing storage, but specified a Ceph pool")
268
269
270
271
272
273
# Check to make sure the IP address provided is an OCF IPv4 address
274
ip_addr = ip_address(args.ip)
275
if not is_ocf_ip(ip_addr) or not isinstance(ip_addr, IPv4Address):
0 commit comments