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
Good call. I tested it by logging into the utah user on magners-orchestra, running python, and doing something like this:
from utah.provisioni ng.inventory. sqlite import ManualCobblerSQ LiteInventory LiteInventory( db='~/. utah-cobbler- inventory' , lockfile= '~/.utah- cobbler- lock') image=' /home/ubuntu/ precise- mini-i386. iso', debug=True)
i = ManualCobblerSQ
m = i.request(
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.