Source

appliancekit-ng / ak-run

1
2
3
4
5
6
7
#!/usr/bin/env python

import sys
from appliancekit.driver import run_axml

state = dict(eth0={'address': '198.27.77.14', 'netmask': '255.255.255.240', 'gateway': '198.27.77.1', 'broadcast': '198.27.77.15'})
run_axml(sys.argv[1], sys.argv[2], state, phases=sys.argv[3:])