Code review comment for lp:~nuclearbob/utah/cobbler-mini

Revision history for this message
Max Brustkern (nuclearbob) wrote :

Good call. I tested it by logging into the utah user on magners-orchestra, running python, and doing something like this:

from utah.provisioning.inventory.sqlite import ManualCobblerSQLiteInventory
i = ManualCobblerSQLiteInventory(db='~/.utah-cobbler-inventory', lockfile='~/.utah-cobbler-lock')
m = i.request(image='/home/ubuntu/precise-mini-i386.iso', debug=True)
m.installclient()
m.destroy()

Now that I think of it, it should work from the scripts as well, so something like

run_utah_tests.py -m physical --name 'acer-veriton-03' -i '/home/ubuntu/precise-mini-i386.iso' /usr/share/utah/client/examples/pass.run

should also work.

« Back to merge proposal