Skip to content

Instantly share code, notes, and snippets.

@jtomasek
Created September 17, 2014 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtomasek/c91eb0a477199afbe894 to your computer and use it in GitHub Desktop.
Save jtomasek/c91eb0a477199afbe894 to your computer and use it in GitHub Desktop.
2014-09-17 12:52:40.515 | ++ echo /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd
2014-09-17 12:52:40.515 | ++ break
2014-09-17 12:52:40.515 | ++ true
2014-09-17 12:52:40.515 | + ramdisk=/home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd
2014-09-17 12:52:40.515 | ++ for f in '"$xdir/"*.img' '"$xdir/"ami-*/image'
2014-09-17 12:52:40.515 | ++ '[' -f /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img ']'
2014-09-17 12:52:40.515 | ++ echo /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img
2014-09-17 12:52:40.515 | ++ break
2014-09-17 12:52:40.515 | ++ true
2014-09-17 12:52:40.516 | + image=/home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img
2014-09-17 12:52:40.516 | + [[ -z cirros-0.3.2-x86_64-uec ]]
2014-09-17 12:52:40.516 | + is_arch ppc64
2014-09-17 12:52:40.516 | ++ uname -m
2014-09-17 12:52:40.517 | + [[ x86_64 == \p\p\c\6\4 ]]
2014-09-17 12:52:40.517 | + '[' '' = bare ']'
2014-09-17 12:52:40.517 | + local kernel_id= ramdisk_id=
2014-09-17 12:52:40.517 | + '[' -n /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-vmlinuz ']'
2014-09-17 12:52:40.517 | ++ openstack --os-token 32371694d2c94b61bda36ac643c1e26d --os-url http://192.168.122.224:9292 image create cirros-0.3.2-x86_64-uec-kernel --public --container-format aki --disk-format aki
2014-09-17 12:52:40.517 | ++ get_field 2
2014-09-17 12:52:40.517 | ++ grep ' id '
2014-09-17 12:52:40.517 | ++ local data field
2014-09-17 12:52:40.521 | ++ read data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment