source:
llx-netinstall/trunk/fuentes/netinstall_init_example
@
3360
Last change on this file since 3360 was 239, checked in by , 5 years ago | |
---|---|
File size: 379 bytes |
Line | |
---|---|
1 | #!/usr/bin/env python |
2 | |
3 | import xmlrpclib |
4 | |
5 | server="localhost" |
6 | user="lliurex" |
7 | password="lliurex" |
8 | |
9 | c=xmlrpclib.ServerProxy("https://"+server+":9779") |
10 | user=(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 |
18 | print c.load_exports(user,"NetinstallManager") |
Note: See TracBrowser
for help on using the repository browser.