Uvtool packages
The following packages and their dependencies will be required in order to use uvtool:
• uvtool
• uvtool-libvirt
To install uvtool, run:
$ sudo apt −y i n s t a l l u v t o o l
This will install uvtool’s main commands:
• uvt-simplestreams-libvirt
• uvt-kvm
Get the Ubuntu Cloud Image with uvt-simplestreams-libvirt
This is one of the major simplifications that uvtool brings. It is aware of where to find the cloud images so
only one command is required to get a new cloud image. For instance, if you want to synchronize all cloud
images for the amd64 architecture, the uvtool command would be:
$ uvt−s i m p l e s t r e a m s −l i b v i r t −−v e r b o s e sync a r c h=amd64
After an amount of time required to download all the images from the Internet, you will have a complete set
of cloud images stored locally. To see what has been downloaded use the following command:
$ uvt−s i m p l e s t r e a m s −l i b v i r t query
r e l e a s e=b i o n i c a r c h=amd64 l a b e l=d a i l y ( 2 0 1 9 1 1 0 7 )
r e l e a s e=f o c a l a r c h=amd64 l a b e l=d a i l y ( 2 0 1 9 1 0 2 9 )
. . .
In the case where you want to synchronize only one specific cloud-image, you need to use the release= and
arch= filters to identify which image needs to be synchronized.
$ uvt−s i m p l e s t r e a m s −l i b v i r t sync r e l e a s e=DISTRO−SHORT−CODENAME a r c h=amd64
Furthermore you can provide an alternative URL to fetch images from. A common case are the daily images
which helps to get the very latest images or if you need access to the not yet released development release
of Ubuntu.
$ uvt−s i m p l e s t r e a m s −l i b v i r t sync −−s o u r c e h t t p : / / cloud −images . ubuntu . com/ d a i l y
[ . . .
f u r t h e r o p t i o n s ]
Do'stlaringiz bilan baham: