def vgremove(vgname):
 cmd = ['vgremove', '-f', vgname]
 out = __salt__['cmd.run'](cmd, python_shell=False)
 return out.strip()

def vgremove ( vgname ) : cmd = [ 'vgremove' , '-f' , vgname ] out = __salt__ [ 'cmd.run' ] ( cmd , python_shell = False ) return out . strip ( )
remove an lvm volume group cli examples: .