There is also another issue. https://github.com/joyent/smartos-live/issues/182
Do you know any work around here? -Goktug On 12 Haz 2014, at 17:56, Alain O'Dea via smartos-discuss <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu 12 Jun 2014 01:20:13 PM UTC, Nahum Shalman via smartos-discuss > wrote: >> On 06/12/2014 04:52 AM, Tim Boudreau via smartos-discuss wrote: >>> A bit of fun with vmadm list | cut -b-36 | xargs ... ought to let you >>> enumerate all the zones and call dladm on each. >> >> May I suggest the cleaner: >> vmadm list -H -o uuid | xargs ... >> >> The vmadm command is quite capable of listing only the details you >> want. :) >> >> -Nahum > > I like this game :) > > Example: full JSON output friendly for piped processing with with the > json command > > ``` > vmadm lookup -j > ``` > > Example: find UUIDs of all machines running 64-bit SmartMachine Base > 13.2.1: > > ``` > for uuid in $(vmadm lookup > image_uuid='17c98640-1fdb-11e3-bf51-3708ce78e75a') > do > # maybe bring up 14.1.0 machines and migrate data > done > ``` > > See: > https://us-east.manta.joyent.com/smartosman/public/man1M/vmadm.1M.html > http://trentm.com/json/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJTmb+zAAoJEP0rIXJNjNSA9t0IAJpqQbOrlQG590uZa/OsX7Mm > KibZ6exHEke+UraxO59hr+Dq3sNz1FiFDhkE6CNVDhD/JwLECQ40bIYaVxuA+S7J > 26MlmjX6I8HG74LcI2pM9H0H7/ug3jLvFWlqkHcb0Ooo/kFsTpb691pMEe8Snspi > rK+G6cHgPQrRNpT4T0uJ2zdiau6cJz+Bc9QuWa0rHJavZaoTKsheutZa1Ar2RdBo > q/sfSBY4vvwsD81pT+8jgVTMUoTTFIMFu6cSlPpT0dwAbH2TD6JiX6l+iV51TCdv > BZcUpeUC4nLTnT8tzHJuTXTERDG97yRFfXFWH7V1kYoF41yeZcJjaNvniJ+mVqY= > =NWf3 > -----END PGP SIGNATURE----- > > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > RSS Feed: https://www.listbox.com/member/archive/rss/184463/23022383-129bf69b > Modify Your Subscription: https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
