Here is the list of the bootimages on the lab machine:
>>> for b in BootImage.objects.all(): ... print b.__repr__() ... <BootImage amd64/generic-saucy-install> <BootImage amd64/generic-quantal-install> <BootImage amd64/generic-lucid-install> <BootImage amd64/generic-trusty-install> <BootImage amd64/generic-precise-install> <BootImage i386/generic-saucy-install> <BootImage i386/generic-quantal-install> <BootImage i386/generic-lucid-install> <BootImage i386/generic-trusty-install> <BootImage i386/generic-trusty-xinstall> <BootImage i386/generic-trusty-commissioning> <BootImage i386/generic-precise-install> <BootImage armhf/highbank-quantal-install> <BootImage armhf/highbank-trusty-xinstall> <BootImage armhf/highbank-trusty-commissioning> <BootImage armhf/highbank-precise-install> <BootImage armhf/generic-saucy-install> <BootImage armhf/generic-trusty-install> <BootImage armhf/generic-trusty-xinstall> <BootImage armhf/generic-trusty-commissioning> <BootImage amd64/generic-trusty-xinstall> <BootImage amd64/generic-trusty-commissioning>
>>> ng = NodeGroup.objects.all() >>> BootImage.objects.get_usable_architectures(ng) set([u'amd64/generic', u'i386/generic', u'armhf/generic', u'armhf/highbank'])
The amd64/generic images have been imported all right…
Here is the list of the bootimages on the lab machine:
>>> for b in BootImage. objects. all(): saucy-install> quantal- install> lucid-install> trusty- install> precise- install> saucy-install> quantal- install> lucid-install> trusty- install> trusty- xinstall> trusty- commissioning> precise- install> quantal- install> trusty- xinstall> trusty- commissioning> precise- install> saucy-install> trusty- install> trusty- xinstall> trusty- commissioning> trusty- xinstall> trusty- commissioning>
... print b.__repr__()
...
<BootImage amd64/generic-
<BootImage amd64/generic-
<BootImage amd64/generic-
<BootImage amd64/generic-
<BootImage amd64/generic-
<BootImage i386/generic-
<BootImage i386/generic-
<BootImage i386/generic-
<BootImage i386/generic-
<BootImage i386/generic-
<BootImage i386/generic-
<BootImage i386/generic-
<BootImage armhf/highbank-
<BootImage armhf/highbank-
<BootImage armhf/highbank-
<BootImage armhf/highbank-
<BootImage armhf/generic-
<BootImage armhf/generic-
<BootImage armhf/generic-
<BootImage armhf/generic-
<BootImage amd64/generic-
<BootImage amd64/generic-
>>> ng = NodeGroup. objects. all() objects. get_usable_ architectures( ng) amd64/generic' , u'i386/generic', u'armhf/generic', u'armhf/highbank'])
>>> BootImage.
set([u'
The amd64/generic images have been imported all right…