Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build_vm
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ main() {
assert_value target ${target} alt-server alt-workstation alt-kworkstation
assert_value arch ${arch} i586 x86_64
assert_value headless ${headless} true false
assert_value BASE_VERSION ${BASE_VERSION} '8sp' '8sp-yandex' '10' '10.1' '10.2' '10.4' '11.0' '10.1-vmware' '10.2-vmware' '10.4-vmware' '11.0-vmware' '10-yandex' '10.1-yandex' 'c10f1' 'c10f1-vmware' 'c10f2' 'c10f2-vmware' 'sp-10.2.1' 'sp-10.2.2' 'sp-10.2.1-vmware' 'sp-10.2.2-vmware' 'sisyphus'
assert_value TARGET_VERSION ${TARGET_VERSION} '8sp' '8sp-yandex' '10' '10.1' '10.2' '10.4' '11.0' '10.1-vmware' '10.2-vmware' '10.4-vmware' '11.0-vmware' '10-yandex' '10.1-yandex' 'c10f1' 'c10f1-vmware' 'c10f2' 'c10f2-vmware' 'sp-10.2.1' 'sp-10.2.2' 'sp-10.2.1-vmware' 'sp-10.2.2-vmware' 'sisyphus'
assert_value BASE_VERSION ${BASE_VERSION} '8sp' '8sp-yandex' '10' '10.1' '10.2' '10.4' '11.0' '11.1' '10.1-vmware' '10.2-vmware' '10.4-vmware' '11.0-vmware' '11.1-vmware' '10-yandex' '10.1-yandex' 'c10f1' 'c10f1-vmware' 'c10f2' 'c10f2-vmware' 'sp-10.2.1' 'sp-10.2.2' 'sp-10.2.1-vmware' 'sp-10.2.2-vmware' 'sisyphus'
assert_value TARGET_VERSION ${TARGET_VERSION} '8sp' '8sp-yandex' '10' '10.1' '10.2' '10.4' '11.0' '11.1' '10.1-vmware' '10.2-vmware' '10.4-vmware' '11.0-vmware' '11.1-vmware' '10-yandex' '10.1-yandex' 'c10f1' 'c10f1-vmware' 'c10f2' 'c10f2-vmware' 'sp-10.2.1' 'sp-10.2.2' 'sp-10.2.1-vmware' 'sp-10.2.2-vmware' 'sisyphus'
assert_value VM_TYPE ${VM_TYPE} qemu onebula vbox vagrant-qemu vagrant-vbox cloud vsphere openuds-actor
assert_value onerror ${onerror} ask cleanup abort

Expand Down
16 changes: 16 additions & 0 deletions config/alt-server-11.1-vmware-x86_64.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"iso_url": "http://ftp.altlinux.org/pub/distributions/ALTLinux/p11/images/server/x86_64/alt-server-11.1-x86_64.iso",
"iso_target_path": "alt-server-11.1-x86_64.iso",
"iso_datastore_path": "[localstorage] ISO/alt-server-11.1-x86_64.iso",
"iso_checksum": "13b3df1b05e3aef0fb11485ea947df48",
"iso_checksum_type": "md5",
"boot_escape_cmd": "c",
"boot_cmd": "linux /boot/vmlinuz showopts selinux=0 changedisk live root=bootchain bootchain=waitdev,fg,altboot automatic=method:disk,uuid:2026-03-28-07-36-11-00 stagename=live systemd.unit=install2.target ramdisk_size=914433 lowmem",
"boot_finish_cmd": "<wait><enter>initrd /boot/initrd.img<enter>boot<enter>",
"metadata": "alt-server-11.1-vmware-x86_64",
"descr": "ALT Linux Server 11.1 x86_64",
"disk_size": "6144",
"image_version": "1.0.0",
"with_cloudinit": "1",
"with_sisyphus": "0"
}
16 changes: 16 additions & 0 deletions config/alt-server-11.1-x86_64.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"iso_url": "http://ftp.altlinux.org/pub/distributions/ALTLinux/p11/images/server/x86_64/alt-server-11.1-x86_64.iso",
"iso_target_path": "alt-server-11.1-x86_64.iso",
"iso_checksum": "13b3df1b05e3aef0fb11485ea947df48",
"iso_checksum_type": "md5",
"boot_escape_cmd": "c",
"boot_cmd": "linux /boot/vmlinuz showopts selinux=0 changedisk live root=bootchain bootchain=waitdev,fg,altboot automatic=method:disk,uuid:2026-03-28-07-36-11-00 stagename=live systemd.unit=install2.target ramdisk_size=914433 lowmem",
"boot_finish_cmd": "<wait><enter>initrd /boot/initrd.img<enter>boot<enter>",
"metadata": "alt-server-11.1-x86_64",
"descr": "ALT Linux Server 11.1 x86_64",
"disk_size": "6144",
"image_version": "1.0.0",
"with_cloudinit": "1",
"with_sisyphus": "0"
}

16 changes: 16 additions & 0 deletions config/alt-workstation-11.1-x86_64.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"iso_url": "http://ftp.altlinux.org/pub/distributions/ALTLinux/p11/images/workstation/x86_64/alt-workstation-11.1-x86_64.iso",
"iso_target_path": "alt-workstation-11.1-x86_64.iso",
"iso_checksum": "3cbeea531e4d65d7d971e1a961361f2b",
"iso_checksum_type": "md5",
"boot_escape_cmd": "c",
"boot_cmd": "linux /boot/vmlinuz showopts net.ifnames=0 selinux=0 changedisk live root=bootchain bootchain=fg,altboot automatic=method:disk,uuid:2025-08-20-13-33-04-00 stagename=live systemd.unit=install2.target ramdisk_size=1685197 lowmem quiet splash",
"boot_finish_cmd": "<wait><enter>initrd /boot/initrd.img<enter>boot<enter>",
"metadata": "alt-workstation-11.1-x86_64",
"descr": "ALT Linux Workstation 11.1 x86_64",
"disk_size": "14336",
"image_version": "1.0.0",
"with_cloudinit": "1",
"with_sisyphus": "0"
}

61 changes: 61 additions & 0 deletions metadata/alt-server-11.1-vmware-x86_64/autoinstall.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
("/sysconfig-base/language" action "write" lang ("ru_RU"))
("/sysconfig-base/kbd" action "write" layout "ctrl_shift_toggle")
("/datetime-installer" action "write" commit #t name "RU" zone "Europe/Moscow" utc #t)

("/evms/control" action "write" control open installer #t)
("/evms/control" action "write" control update)
("/evms/profiles/server" action apply commit #f clearall #t exclude ())
("/evms/control" action "write" control commit)
("/evms/control" action "write" control close)

("pkg-install-init" action "write")
; Package lists for installation are taken from 'pkg-groups.tar' file
; which originally resides in 'Metadata' directory inside installation
; image/ISO. You may get the idea about necessary packages by
; running installation process with 'instdebug' option passed as
; kernel argument and then looking at '/tmp/wizard.log' script.
;
; Please note that in this case the package group called 'alterator'
; is unavoidable otherwise the '/preinstall' step will go into
; inifinite loop waiting for non-existent 'alteratord' to start in
; chrooted environment. Other package groups may be optional.
;
; It's also advised to avoid installing 'selinux-altlinux-server' package
; group in SELinux-enabled distros because SELinux must be disabled to
; perform 'apt-get dist-upgrade' which you will eventually try to
; perform when VM is up.
("/pkg-install" action "write" lists "edition_server/alt-server-virt-env control-sshd" auto #t)
("/preinstall" action "write")

; It should be noted that 'virtio' block device driver will render
; device file names as '/dev/vda', not '/dev/sda' under QEMU. Alterator
; is unable to handle errors returned by applications it calls
; internally so you will get unbootable VM in case of device name
; mismatch without any errors.
;
; In this case the driver 'virtio-scsi' is used when building box under
; QEMU which makes devices to look like classic '/dev/sda'. It allows
; to have one 'autoinstall.scm' file for both QEMU and VirtualBox
; reducing duplication, errors and differences.
("/grub" action "write" language ("ru_RU") device "efi" passwd #f passwd_1 "*" passwd_2 "*")

("/net-eth" action "write" reset #t)
; There is a problem with 8SP networking - "persistent" interface names
; are turned on by default and there is no 'alterator-postinstall'
; package included in initrd so there is no way to know the network
; interface namem when the system is finally booted.
;
; Here we have settings (enp0s3) for QEMU and (ens4) for VirtualBox
; builds. Please note that you may need to adjust interface names when
; building VMs using this autoinstall scripts.
("/net-eth" action "write" name "enp0s3" ipv "4" configuration "dhcp" controlled "etcnet" default "" search "" dns "" computer_name "altlinux" ipv_enabled #t)
("/net-eth" action "write" name "ens4" ipv "4" configuration "dhcp" controlled "etcnet" default "" search "" dns "" computer_name "altlinux" ipv_enabled #t)
("/net-eth" action "write" name "eth0" ipv "4" configuration "dhcp" controlled "etcnet" default "" search "" dns "" computer_name "altlinux" ipv_enabled #t)
("/net-eth" action "write" name "eth1" ipv "4" configuration "dhcp" controlled "etcnet" default "" search "" dns "" computer_name "altlinux" ipv_enabled #t)
("/net-eth" action "write" commit #t)

("/root/change_password" language ("ru_RU") passwd_2 "123" passwd_1 "123")

; We need vmtoolsd for acquiring IP address during configuration
; and root ssh login for configuring VM using ssh.
("/postinstall/firsttime" run "systemctl enable -now sshd; control sshd-password-auth enabled; control sshd-permit-root-login enabled; systemctl restart sshd; systemctl enable --now vmtoolsd")
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=ALT Domain client infrastructure support
X-Alterator-PackageList=edition_domain/alt-domain-ad-client-support
X-Alterator-Required=no
Name[ru_RU]=Поддержка клиентской инфраструктуры в Альт Домен
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Graphical subsystem support (GNOME)
X-Alterator-PackageList=edition_domain/alt-server-gnome-environment
X-Alterator-Required=no
Name[ru_RU]=Поддержка графической подсистемы (GNOME)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Server support for virtual environments
X-Alterator-PackageList=edition_domain/alt-server-virt-env
X-Alterator-Required=no
Name[ru_RU]=Серверная поддержка работы в виртуальных окружениях
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Web-interface - Alterator (legacy)
X-Alterator-PackageList=edition_domain/alterator-legacy-web
X-Alterator-Required=no
Name[ru_RU]=Web-интерфейс - Альтератор (legacy)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Graphical subsystem support (GNOME)
X-Alterator-PackageList=edition_server/alt-server-gnome-environment
X-Alterator-Required=no
Name[ru_RU]=Поддержка графической подсистемы (GNOME)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Server support for virtual environments
X-Alterator-PackageList=edition_server/alt-server-virt-env
X-Alterator-Required=no
Name[ru_RU]=Серверная поддержка работы в виртуальных окружениях
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Web-interface - Alterator (legacy)
X-Alterator-PackageList=edition_server/alterator-legacy-web
X-Alterator-Required=no
Name[ru_RU]=Web-интерфейс - Альтератор (legacy)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Samba AD - client infrastructure support
X-Alterator-PackageList=edition_server/samba-ad-client-support
X-Alterator-Required=no
Name[ru_RU]=Samba AD - поддержка клиентской инфраструктуры
96 changes: 96 additions & 0 deletions metadata/alt-server-11.1-vmware-x86_64/pkg-groups/lists/.base
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
## generated by features.in/metadata/lib/50-metadata.mk

## SYSTEM_PACKAGES
kbd
kbd-data
fonts-ttf-google-croscore-arimo
firmware-linux
firmware-aic94xx-seq
firmware-ast_dp501
firmware-linux-mellanox
multipath-tools

## COMMON_PACKAGES
fakeroot
vim-console

## THE_PACKAGES
docs-alt-server
docs-alt-domain
chkconfig
vconsole-setup-kludge
alterator-wizardface
e2fsprogs
mdadm
lvm2
cryptsetup
alterator-postinstall
branding-alt-server-release
chrony
control
apt-conf-branch
firmware-alsa-sof
firmware-intel-ucode
iucode_tool
etcnet
iputils
installer-feature-serial-stage3
shadow-utils
passwd
ntfs-3g
btrfs-progs

## BASE_PACKAGES
bootloader-utils
memtest86+
shim-signed
installer-feature-bootloader-grub
os-prober
make-initrd-mdadm
make-initrd-lvm
make-initrd-luks
installer-distro-centaurus-stage3
make-initrd-ucode

## THE_LISTS

# systemd tagged/basesystem tagged/base+l10n
systemd
systemd-sysvinit
systemd-analyze
chkconfig
hwclock
interactivesystem
basesystem
crontabs
info
kbd
kbd-data
losetup
passwd
sash
time
which
apt
apt-https
glibc-locales
glibc-gconv-modules

## BASE_LISTS

# tagged/base+efi grub
gdisk
parted
fatresize
dosfstools
grub-efi
efibootmgr
grub-pc
grub-efi

## DOT_BASE
^kernel-(image|modules-(drm|r8125|yt6801))-(6.12)$
^branding-alt-server-(release|notes|indexhtml|slideshow)$
docs-alt-server
docs-alt-domain
firmware-ql.*
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
control-sshd-permit-root-login
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
adcli
alterator-auth
alterator-gpupdate
alterator-roles-common
dconf
gpresult
gpupdate
packagekit
task-auth-ad-winbind
xdg-user-dirs
Loading