source: llx-netinstall/trunk/fuentes/netinstall_init_example

Last change on this file was 239, checked in by hectorgh, 4 years ago

wip

File size: 379 bytes
Line 
1#!/usr/bin/env python
2
3import xmlrpclib
4
5server="localhost"
6user="lliurex"
7password="lliurex"
8
9c=xmlrpclib.ServerProxy("https://"+server+":9779")
10user=(user,password)
11#print c.get_methods('NetinstallManager')
12
13#se necesitan las siguientes variables del n4d-dnsmasq
14#INTERNAL_DOMAIN
15#HOSTNAME
16
17# se puede lanzar después del Dnsmasq
18print c.load_exports(user,"NetinstallManager")
Note: See TracBrowser for help on using the repository browser.