cloud/smartos/imgadm.py