Module kickstart
[hide private]
[frames] | no frames]

Source Code for Module kickstart

 1  # 
 2  # Copyright (c) 2008--2013 Red Hat, Inc. 
 3  # 
 4  # This software is licensed to you under the GNU General Public License, 
 5  # version 2 (GPLv2). There is NO WARRANTY for this software, express or 
 6  # implied, including the implied warranties of MERCHANTABILITY or FITNESS 
 7  # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 
 8  # along with this software; if not, see 
 9  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 
10  # 
11  # Red Hat trademarks are not licensed under GPLv2. No permission is 
12  # granted to use or replicate Red Hat trademarks that are incorporated 
13  # in this software or its documentation. 
14  # 
15   
16  import sys 
17   
18  rhnpath="/usr/share/rhn" 
19  if rhnpath not in sys.path: 
20      sys.path.append(rhnpath) 
21   
22  from spacewalkkoan import spacewalkkoan 
23  from up2date_client import up2dateLog 
24   
25  __rhnexport__ = [ 
26      'initiate', 
27  ] 
28   
29 -def initiate(kickstart_host, base, extra_append, static_device="", system_record="", preserve_files=[], cache_only=False):
30 log = up2dateLog.initLog() 31 log.log_me("initiating spacewalkkoan kickstart") 32 return spacewalkkoan.initiate(kickstart_host, base, extra_append=extra_append, 33 static_device=static_device, system_record=system_record, preserve_files=preserve_files)
34