Package spacewalkkoan :: Module spacewalkkoan
[hide private]
[frames] | no frames]

Module spacewalkkoan

source code

Classes [hide private]
  VirtDiskPathExistsError
  BlockDeviceNonexistentError
  FileCopier
A class that copies a list of files/directories to the specified destination
  QuotaExceeded
Functions [hide private]
 
execute(cmd) source code
 
find_host_name() source code
 
find_netmask(device) source code
 
find_netmask6(device) source code
 
find_ip(device) source code
 
find_ip6(device) source code
 
find_name_servers() source code
 
find_gateway(device) source code
 
find_gateway6(device) source code
 
getSystemId() source code
 
getInitrdPath() source code
 
update_static_device_records(kickstart_host, static_device) source code
 
initiate(kickstart_host, base, extra_append, static_device=None, system_record='', preserve_files=[]) source code
 
initiate_guest(kickstart_host, cobbler_system_name, virt_type, name, mem_kb, vcpus, disk_gb, virt_bridge, disk_path, extra_append, log_notify_handler=None) source code
 
create_new_rd(initrd, preserve_files=[])
Returns None if everything went well, or a tuple (err_code, err_string, dict) if problems were found
source code
 
rm_rf(path)
Equivalent of rm -rf
source code
 
_remove_func(path)
Recursive function for rm -rf; will fail if path doesn't exist
source code
 
my_popen(cmd) source code
 
_build_error(status, stdout, stderr) source code
Variables [hide private]
  SHADOW = '/tmp/ks-tree-shadow'
  __package__ = 'spacewalkkoan'