Package commands :: Module alter_chroot :: Class AlterChrootCommand
[hide private]
[frames] | no frames]

Class AlterChrootCommand

source code


Activates or deactivates a chroot

Instance Methods [hide private]
 
run(self, chroot_names, action) source code

Inherited from create_chroot.ChrootCommand: print_already_exists, print_doesnt_exist, print_invalid_format

Class Variables [hide private]
  option_list = ChrootCommand.option_list+(Option("--action", "-...
Class Variable Details [hide private]

option_list

Value:
ChrootCommand.option_list+(Option("--action", "-a", dest= "action", he\
lp= "Action to take - currently activate or deactivate", choices= ["ac\
tivate", "deactivate", "eol"], required= True),)