VK Cloud logo

Метатеги образов

Образ может иметь метатеги, влияющие на конфигурацию виртуальной машины и гостевой операционной системы. Метатеги задаются при редактировании образа.

Поддерживаемые метатеги образов

Теги образов ВМ делятся на:

  • os_*: настройки гостевой операционной системы (ОС);
  • hw_*: настройки виртуальной машины;
  • mcs_*: свойства ВМ, используемые для сортировки в личном кабинете VK Cloud;
  • остальные теги, влияющие на работу с образом.
ИмяОписаниеЗначение по умолчанию
os_type
Тип создаваемой из образа гостевой ОС внутри виртуальной машины. Влияет на конфигурацию ВМ. Например, для Windows будут включены специальные возможности гипервизора для улучшения стабильности и производительности гостевой ОС
Зависит от ОС
mcs_os_type
Тип гостевой ОС внутри ВМ. Используется для сортировки в личном кабинете
os_distro
Дистрибутив создаваемой из образа гостевой ОС внутри виртуальной машины. Влияет на конфигурацию ВМ, например, на типы виртуальных сетевых устройств
mcs_os_distro
Дистрибутив гостевой ОС внутри ВМ. Используется для сортировки в личном кабинете
os_version
Версия гостевой ОС внутри виртуальной машины
mcs_os_version
Версия гостевой ОС внутри ВМ. Используется для сортировки в личном кабинете
os_admin_user
Пользователь внутри гостевой ОС с правами администратора; пароль может быть установлен через личный кабинет
При os_type: windowsAdministrator, для всех остальных значений — root
os_require_quiesce
Признак, отвечающий за заморозку файловой системы перед снятием снимков подключенных дисков. Если yes, то при неудачной заморозке файловой системы операция создания снимков будет отменена
no
hw_qemu_guest_agent
Признак наличия QEMU-агента внутри гостевой ОС. Если True, делает доступными возможности смены пароля пользователя и заморозки файловой системы для резервного копирования
False
mcs_name
Имя образа, которое отображается пользователю личного кабинета

Заполнение os_distro и os_version

Используйте значение Short ID для определения метатега os_distro и version для метатега os_version:

Таблица со значениями
Short IDNameVersionID
alpinelinux3.5
Alpine Linux 3.5
3.5
alpinelinux3.6
Alpine Linux 3.6
3.6
alpinelinux3.7
Alpine Linux 3.7
3.7
altlinux1.0
Mandrake RE Spring 2001
1.0
altlinux2.0
ALT Linux 2.0
2.0
altlinux2.2
ALT Linux 2.2
2.2
altlinux2.4
ALT Linux 2.4
2.4
altlinux3.0
ALT Linux 3.0
3.0
altlinux4.0
ALT Linux 4.0
4.0
altlinux4.1
ALT Linux 4.1
4.1
altlinux5.0
ALT Linux 5.0
5.0
altlinux6.0
ALT Linux 6.0
6.0
altlinux7.0
ALT Linux 7.0
7.0
asianux-unknown
Asianux unknown
unknown
asianux4.6
Asianux Server 4 SP6
asianux4.7
Asianux Server 4 SP7
asianux7.0
Asianux Server 7
7.0
asianux7.1
Asianux Server 7 SP1
7.1
asianux7.2
Asianux Server 7 SP2
7.2
centos6.0
CentOS 6.0
6.0
centos6.1
CentOS 6.1
6.1
centos6.2
CentOS 6.2
6.2
centos6.3
CentOS 6.3
6.3
centos6.4
CentOS 6.4
6.4
centos6.5
CentOS 6.5
6.5
centos6.6
CentOS 6.6
6.6
centos6.7
CentOS 6.7
6.7
centos6.8
CentOS 6.8
6.8
centos6.9
CentOS 6.9
6.9
centos7.0
CentOS 7.0
7.0
debian1.1
Debian Buzz
1.1
debian1.2
Debian Rex
1.2
debian1.3
Debian Bo
1.3
debian2.0
Debian Hamm
2.0
debian2.1
Debian Slink
2.1
debian2.2
Debian Potato
2.2
debian3
Debian Woody
3
debian3.1
Debian Sarge
3.1
debian4
Debian Etch
4
debian5
Debian Lenny
5
debian6
Debian Squeeze
6
debian7
Debian Wheezy
7
debian8
Debian Jessie
8
debian9
Debian Stretch
9
debiantesting
Debian Testing
testing
eos3.3
Endless OS 3.3
3.3
fedora-unknown
Fedora
unknown
fedora1
Fedora Core 1
1
fedora10
Fedora 10
10
fedora11
Fedora 11
11
fedora12
Fedora 12
12
fedora13
Fedora 13
13
fedora14
Fedora 14
14
fedora15
Fedora 15
15
fedora16
Fedora 16
16
fedora17
Fedora 17
17
fedora18
Fedora 18
18
fedora19
Fedora 19
19
fedora2
Fedora Core 2
2
fedora20
Fedora 20
20
fedora21
Fedora 21
21
fedora22
Fedora 22
22
fedora23
Fedora 23
23
fedora24
Fedora 24
24
fedora25
Fedora 25
25
fedora26
Fedora 26
26
fedora27
Fedora 27
27
fedora28
Fedora 28
28
fedora3
Fedora Core 3
3
fedora4
Fedora Core 4
4
fedora5
Fedora Core 5
5
fedora6
Fedora Core 6
6
fedora7
Fedora 7
7
fedora8
Fedora 8
8
fedora9
Fedora 9
9
freebsd1.0
FreeBSD 1.0
1.0
freebsd10.0
FreeBSD 10.0
10.0
freebsd10.1
FreeBSD 10.1
10.1
freebsd10.2
FreeBSD 10.2
10.2
freebsd10.3
FreeBSD 10.3
10.3
freebsd10.4
FreeBSD 10.4
10.4
freebsd11.0
FreeBSD 11.0
11.0
freebsd11.1
FreeBSD 11.1
11.1
freebsd2.0
FreeBSD 2.0
2.0
freebsd2.0.5
FreeBSD 2.0.5
2.0.5
freebsd2.2.8
FreeBSD 2.2.8
2.2.8
freebsd2.2.9
FreeBSD 2.2.9
2.2.9
freebsd3.0
FreeBSD 3.0
3.0
freebsd3.2
FreeBSD 3.2
3.2
freebsd4.0
FreeBSD 4.0
4.0
freebsd4.1
FreeBSD 4.1
4.1
freebsd4.10
FreeBSD 4.10
4.10
freebsd4.11
FreeBSD 4.11
4.11
freebsd4.2
FreeBSD 4.2
4.2
freebsd4.3
FreeBSD 4.3
4.3
freebsd4.4
FreeBSD 4.4
4.4
freebsd4.5
FreeBSD 4.5
4.5
freebsd4.6
FreeBSD 4.6
4.6
freebsd4.7
FreeBSD 4.7
4.7
freebsd4.8
FreeBSD 4.8
4.8
freebsd4.9
FreeBSD 4.9
4.9
freebsd5.0
FreeBSD 5.0
5.0
freebsd5.1
FreeBSD 5.1
5.1
freebsd5.2
FreeBSD 5.2
5.2
freebsd5.2.1
FreeBSD 5.2.1
5.2.1
freebsd5.3
FreeBSD 5.3
5.3
freebsd5.4
FreeBSD 5.4
5.4
freebsd5.5
FreeBSD 5.5
5.5
freebsd6.0
FreeBSD 6.0
6.0
freebsd6.1
FreeBSD 6.1
6.1
freebsd6.2
FreeBSD 6.2
6.2
freebsd6.3
FreeBSD 6.3
6.3
freebsd6.4
FreeBSD 6.4
6.4
freebsd7.0
FreeBSD 7.0
7.0
freebsd7.1
FreeBSD 7.1
7.1
freebsd7.2
FreeBSD 7.2
7.2
freebsd7.3
FreeBSD 7.3
7.3
freebsd7.4
FreeBSD 7.4
7.4
freebsd8.0
FreeBSD 8.0
8.0
freebsd8.1
FreeBSD 8.1
8.1
freebsd8.2
FreeBSD 8.2
8.2
freebsd8.3
FreeBSD 8.3
8.3
freebsd8.4
FreeBSD 8.4
8.4
freebsd9.0
FreeBSD 9.0
9.0
freebsd9.1
FreeBSD 9.1
9.1
freebsd9.2
FreeBSD 9.2
9.2
freebsd9.3
FreeBSD 9.3
9.3
freedos1.2
FreeDOS 1.2
1.2
gnome-continuous-3.10
GNOME 3.10
3.10
gnome-continuous-3.12
GNOME 3.12
3.12
gnome-continuous-3.14
GNOME 3.14
3.14
gnome3.6
GNOME 3.6
3.6
gnome3.8
GNOME 3.8
3.8
mbs1.0
Mandriva Business Server 1.0
1.0
mes5
Mandriva Enterprise Server 5.0
5.0
mes5.1
Mandriva Enterprise Server 5.1
5.1
msdos6.22
Microsoft MS-DOS 6.22
6.22
netbsd0.8
NetBSD 0.8
0.8
netbsd0.9
NetBSD 0.9
0.9
netbsd1.0
NetBSD 1.0
1.0
netbsd1.1
NetBSD 1.1
1.1
netbsd1.2
NetBSD 1.2
1.2
netbsd1.3
NetBSD 1.3
1.3
netbsd1.4
NetBSD 1.4
1.4
netbsd1.5
NetBSD 1.5
1.5
netbsd1.6
NetBSD 1.6
1.6
netbsd2.0
NetBSD 2.0
2.0
netbsd3.0
NetBSD 3.0
3.0
netbsd4.0
NetBSD 4.0
4.0
netbsd5.0
NetBSD 5.0
5.0
netbsd5.1
NetBSD 5.1
5.1
netbsd6.0
NetBSD 6.0
6.0
netbsd6.1
NetBSD 6.1
6.1
netbsd7.0
NetBSD 7.0
7.0
netbsd7.1
NetBSD 7.1
7.1
netbsd7.1.1
NetBSD 7.1.1
7.1.1
netbsd7.1.2
NetBSD 7.1.2
7.1.2
netware4
Novell Netware 4
4
netware5
Novell Netware 5
5
netware6
Novell Netware 6
6
openbsd4.2
OpenBSD 4.2
4.2
openbsd4.3
OpenBSD 4.3
4.3
openbsd4.4
OpenBSD 4.4
4.4
openbsd4.5
OpenBSD 4.5
4.5
openbsd4.8
OpenBSD 4.8
4.8
openbsd4.9
OpenBSD 4.9
4.9
openbsd5.0
OpenBSD 5.0
5.0
openbsd5.1
OpenBSD 5.1
5.1
openbsd5.2
OpenBSD 5.2
5.2
openbsd5.3
OpenBSD 5.3
5.3
openbsd5.4
OpenBSD 5.4
5.4
openbsd5.5
OpenBSD 5.5
5.5
openbsd5.6
OpenBSD 5.6
5.6
openbsd5.7
OpenBSD 5.7
5.7
openbsd5.8
OpenBSD 5.8
5.8
openbsd5.9
OpenBSD 5.9
5.9
openbsd6.0
OpenBSD 6.0
6.0
openbsd6.1
OpenBSD 6.1
6.1
openbsd6.2
OpenBSD 6.2
6.2
openbsd6.3
OpenBSD 6.3
6.3
opensolaris2009.06
OpenSolaris 2009.06
2009.06
opensuse-factory
openSUSE
factory
opensuse-unknown
openSUSE
unknown
opensuse10.2
openSUSE 10.2
10.2
opensuse10.3
openSUSE 10.3
10.3
opensuse11.0
openSUSE 11.0
11.0
opensuse11.1
openSUSE 11.1
11.1
opensuse11.2
openSUSE 11.2
11.2
opensuse11.3
openSUSE 11.3
11.3
opensuse11.4
openSUSE 11.4
11.4
opensuse12.1
openSUSE 12.1
12.1
opensuse12.2
openSUSE 12.2
12.2
opensuse12.3
openSUSE 12.3
12.3
opensuse13.1
openSUSE 13.1
13.1
opensuse13.2
openSUSE 13.2
13.2
opensuse15.0
openSUSE Leap 15.0
15.0
opensuse42.1
openSUSE Leap 42.1
42.1
opensuse42.2
openSUSE Leap 42.2
42.2
opensuse42.3
openSUSE Leap 42.3
42.3
opensusetumbleweed
openSUSE Tumbleweed
tumbleweed
rhel-atomic-7.0
Red Hat Enterprise Linux Atomic Host 7.0
7.0
rhel-atomic-7.1
Red Hat Enterprise Linux Atomic Host 7.1
7.1
rhel-atomic-7.2
Red Hat Enterprise Linux Atomic Host 7.2
7.2
rhel2.1
Red Hat Enterprise Linux 2.1
2.1
rhel2.1.1
Red Hat Enterprise Linux 2.1 Update 1
2.1.1
rhel2.1.2
Red Hat Enterprise Linux 2.1 Update 2
2.1.2
rhel2.1.3
Red Hat Enterprise Linux 2.1 Update 3
2.1.3
rhel2.1.4
Red Hat Enterprise Linux 2.1 Update 4
2.1.4
rhel2.1.5
Red Hat Enterprise Linux 2.1 Update 5
2.1.5
rhel2.1.6
Red Hat Enterprise Linux 2.1 Update 6
2.1.6
rhel2.1.7
Red Hat Enterprise Linux 2.1 Update 7
2.1.7
rhel3
Red Hat Enterprise Linux 3
3
rhel3.1
Red Hat Enterprise Linux 3 Update 1
3.1
rhel3.2
Red Hat Enterprise Linux 3 Update 2
3.2
rhel3.3
Red Hat Enterprise Linux 3 Update 3
3.3
rhel3.4
Red Hat Enterprise Linux 3 Update 4
3.4
rhel3.5
Red Hat Enterprise Linux 3 Update 5
3.5
rhel3.6
Red Hat Enterprise Linux 3 Update 6
3.6
rhel3.7
Red Hat Enterprise Linux 3 Update 7
3.7
rhel3.8
Red Hat Enterprise Linux 3 Update 8
3.8
rhel3.9
Red Hat Enterprise Linux 3 Update 9
3.9
rhel4.0
Red Hat Enterprise Linux 4.0
4.0
rhel4.1
Red Hat Enterprise Linux 4.1
4.1
rhel4.2
Red Hat Enterprise Linux 4.2
4.2
rhel4.3
Red Hat Enterprise Linux 4.3
4.3
rhel4.4
Red Hat Enterprise Linux 4.4
4.4
rhel4.5
Red Hat Enterprise Linux 4.5
4.5
rhel4.6
Red Hat Enterprise Linux 4.6
4.6
rhel4.7
Red Hat Enterprise Linux 4.7
4.7
rhel4.8
Red Hat Enterprise Linux 4.8
4.8
rhel4.9
Red Hat Enterprise Linux 4.9
4.9
rhel5.0
Red Hat Enterprise Linux 5.0
5.0
rhel5.1
Red Hat Enterprise Linux 5.1
5.1
rhel5.10
Red Hat Enterprise Linux 5.10
5.10
rhel5.11
Red Hat Enterprise Linux 5.11
5.11
rhel5.2
Red Hat Enterprise Linux 5.2
5.2
rhel5.3
Red Hat Enterprise Linux 5.3
5.3
rhel5.4
Red Hat Enterprise Linux 5.4
5.4
rhel5.5
Red Hat Enterprise Linux 5.5
5.5
rhel5.6
Red Hat Enterprise Linux 5.6
5.6
rhel5.7
Red Hat Enterprise Linux 5.7
5.7
rhel5.8
Red Hat Enterprise Linux 5.8
5.8
rhel5.9
Red Hat Enterprise Linux 5.9
5.9
rhel6.0
Red Hat Enterprise Linux 6.0
6.0
rhel6.1
Red Hat Enterprise Linux 6.1
6.1
rhel6.2
Red Hat Enterprise Linux 6.2
6.2
rhel6.3
Red Hat Enterprise Linux 6.3
6.3
rhel6.4
Red Hat Enterprise Linux 6.4
6.4
rhel6.5
Red Hat Enterprise Linux 6.5
6.5
rhel6.6
Red Hat Enterprise Linux 6.6
6.6
rhel6.7
Red Hat Enterprise Linux 6.7
6.7
rhel6.8
Red Hat Enterprise Linux 6.8
6.8
rhel6.9
Red Hat Enterprise Linux 6.9
6.9
rhel7.0
Red Hat Enterprise Linux 7.0
7.0
rhel7.1
Red Hat Enterprise Linux 7.1
7.1
rhel7.2
Red Hat Enterprise Linux 7.2
7.2
rhel7.3
Red Hat Enterprise Linux 7.3
7.3
rhel7.4
Red Hat Enterprise Linux 7.4
7.4
rhel7.5
Red Hat Enterprise Linux 7.5
7.5
rhel7.6
Red Hat Enterprise Linux 7.6
7.6
rhl1.0
Red Hat Linux 1.0
1.0
rhl1.1
Red Hat Linux 1.1
1.1
rhl2.0
Red Hat Linux 2.0
2.0
rhl2.1
Red Hat Linux 2.1
2.1
rhl3.0.3
Red Hat Linux 3.0.3
3.0.3
rhl4.0
Red Hat Linux 4.0
4.0
rhl4.1
Red Hat Linux 4.1
4.1
rhl4.2
Red Hat Linux 4.2
4.2
rhl5.0
Red Hat Linux 5.0
5.0
rhl5.1
Red Hat Linux 5.1
5.1
rhl5.2
Red Hat Linux 5.2
5.2
rhl6.0
Red Hat Linux 6.0
6.0
rhl6.1
Red Hat Linux 6.1
6.1
rhl6.2
Red Hat Linux 6.2
6.2
rhl7
Red Hat Linux 7
7
rhl7.1
Red Hat Linux 7.1
7.1
rhl7.2
Red Hat Linux 7.2
7.2
rhl7.3
Red Hat Linux 7.3
7.3
rhl8.0
Red Hat Linux 8.0
8.0
rhl9
Red Hat Linux 9
9
sled10
SUSE Linux Enterprise Desktop 10
10
sled10sp1
SUSE Linux Enterprise Desktop 10 SP1
10.1
sled10sp2
SUSE Linux Enterprise Desktop 10 SP2
10.2
sled10sp3
SUSE Linux Enterprise Desktop 10 SP3
10.3
sled10sp4
SUSE Linux Enterprise Desktop 10 SP4
10.4
sled11
SUSE Linux Enterprise Desktop 11
11
sled11sp1
SUSE Linux Enterprise Desktop 11 SP1
11.1
sled11sp2
SUSE Linux Enterprise Desktop 11 SP2
11.2
sled11sp3
SUSE Linux Enterprise Desktop 11 SP3
11.3
sled11sp4
SUSE Linux Enterprise Desktop 11 SP4
11.4
sled12
SUSE Linux Enterprise Desktop 12
12
sled12sp1
SUSE Linux Enterprise Desktop 12 SP1
12.1
sled12sp2
SUSE Linux Enterprise Desktop 12 SP2
12.2
sled12sp3
SUSE Linux Enterprise Desktop 12 SP3
12.3
sled9
SUSE Linux Enterprise Desktop 9
9
sles10
SUSE Linux Enterprise Server 10
10
sles10sp1
SUSE Linux Enterprise Server 10 SP1
10.1
sles10sp2
SUSE Linux Enterprise Server 10 SP2
10.2
sles10sp3
SUSE Linux Enterprise Server 10 SP3
10.3
sles10sp4
SUSE Linux Enterprise Server 10 SP4
10.4
sles11
SUSE Linux Enterprise Server 11
11
sles11sp1
SUSE Linux Enterprise Server 11 SP1
11.1
sles11sp2
SUSE Linux Enterprise Server 11 SP2
11.2
sles11sp3
SUSE Linux Enterprise Server 11 SP3
11.3
sles11sp4
SUSE Linux Enterprise Server 11 SP4
11.4
sles12
SUSE Linux Enterprise Server 12
12
sles12sp1
SUSE Linux Enterprise Server 12 SP1
12.1
sles12sp2
SUSE Linux Enterprise Server 12 SP2
12.2
sles12sp3
SUSE Linux Enterprise Server 12 SP3
12.3
sles9
SUSE Linux Enterprise Server 9
9
solaris10
Solaris 10
10
solaris11
Oracle Solaris 11
11
solaris9
Solaris 9
9
ubuntu10.04
Ubuntu 10.04 LTS
10.04
ubuntu10.10
Ubuntu 10.10
10.10
ubuntu11.04
Ubuntu 11.04
11.04
ubuntu11.10
Ubuntu 11.10
11.10
ubuntu12.04
Ubuntu 12.04 LTS
12.04
ubuntu12.10
Ubuntu 12.10
12.10
ubuntu13.04
Ubuntu 13.04
13.04
ubuntu13.10
Ubuntu 13.10
13.10
ubuntu14.04
Ubuntu 14.04 LTS
14.04
ubuntu14.10
Ubuntu 14.10
14.10
ubuntu15.04
Ubuntu 15.04
15.04
ubuntu15.10
Ubuntu 15.10
15.10
ubuntu16.04
Ubuntu 16.04
16.04
ubuntu16.10
Ubuntu 16.10
16.10
ubuntu17.04
Ubuntu 17.04
17.04
ubuntu17.10
Ubuntu 17.10
17.10
ubuntu4.10
Ubuntu 4.10
4.10
ubuntu5.04
Ubuntu 5.04
5.04
ubuntu5.10
Ubuntu 5.10
5.10
ubuntu6.06
Ubuntu 6.06 LTS
6.06
ubuntu6.10
Ubuntu 6.10
6.10
ubuntu7.04
Ubuntu 7.04
7.04
ubuntu7.10
Ubuntu 7.10
7.10
ubuntu8.04
Ubuntu 8.04 LTS
8.04
ubuntu8.10
Ubuntu 8.10
8.10
ubuntu9.04
Ubuntu 9.04
9.04
ubuntu9.10
Ubuntu 9.10
9.10
win1.0
Microsoft Windows 1.0
1.0
win10
Microsoft Windows 10
10.0
win2.0
Microsoft Windows 2.0
2.0
win2.1
Microsoft Windows 2.1
2.1
win2k
Microsoft Windows 2000
5.0
win2k12
Microsoft Windows Server 2012
6.3
win2k12r2
Microsoft Windows Server 2012 R2
6.3
win2k16
Microsoft Windows Server 2016
10.0
win2k3
Microsoft Windows Server 2003
5.2
win2k3r2
Microsoft Windows Server 2003 R2
5.2
win2k8
Microsoft Windows Server 2008
6.0
win2k8r2
Microsoft Windows Server 2008 R2
6.1
win3.1
Microsoft Windows 3.1
3.1
win7
Microsoft Windows 7
6.1
win8
Microsoft Windows 8
6.2
win8.1
Microsoft Windows 8.1
6.3
win95
Microsoft Windows 95
4.0
win98
Microsoft Windows 98
4.1
winme
Microsoft Windows Millennium Edition
4.9
winnt3.1
Microsoft Windows NT Server 3.1
3.1
winnt3.5
Microsoft Windows NT Server 3.5
3.5
winnt3.51
Microsoft Windows NT Server 3.51
3.51
winnt4.0
Microsoft Windows NT Server 4.0
4.0
winvista
Microsoft Windows Vista
6.0
winxp
Microsoft Windows XP
5.1

Если в таблице нет нужной ОС, воспользуйтесь библиотекой libosinfo.

Установка метатега

Пример установки метатегов для образа ВМ Windows с драйверами `virtio`
  1. Определите версию ОС Windows:

    systeminfo
  2. Выберите нужное значение Short ID для метатега os_distro из таблицы выше.

  3. Создайте образ.

  4. Установите метатеги:

    openstack image set --tag <имя и значение тега> <ID образа>

    Пример:

    openstack image set --property os_type="windows" --property os_distro="win2k16" --property os_require_quiesce="yes" --property hw_vif_model="virtio" 7c81ffd7-199d-4428-8767-8120fa1b3aae
  5. Проверьте информацию об образе:

    openstack image show <ID образа>

    Пример результата:

    | properties | hw_vif_model=virtio, os_distro=win2k16, os_require_quiesce=yes, os_type=windows |

Удаление метатега