Actions
Feature #3377
closedAltlinux Operating Systems Support
Description
Support AltLinux (www.altlinux.com)
3 default provision templates- http://foreman/unattended/autoinstall.scm - main provision
- http://foreman/unattended/vm-profile.scm - partition table
- http://foreman/unattended/pkg-groups.tar - packages list
- PXE template
label alt kernel <%= @kernel %> append initrd=<%= @initrd %> stagename=altinst showopts ramdisk_size=150000 automatic=method:http,network:dhcp,server:DISTRHOST,directory:/altlinux/p<%= @host.operatingsystem.major %>/<%= @host.architecture %> ai curl=<%= foreman_url("provision") %>
- main provision
("/sysconfig-base/language" action "write" lang ("en_US")) ("/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/<%= @host.params['diskprofile'] || 'server' %>" action apply commit #f clearall #t exclude ()) ("/evms/control" action "write" control commit) ("/evms/control" action "write" control close) ("/pkg-init" action "write") ("/pkg-install" action "write" lists "<%= @host.params['pkg_list'] || '' %>" auto #t) ("/preinstall" action "write") ("/grub" action "write" language ("en_US") device "<%= @host.params['device'] || '/dev/sda' %>") ("/net-eth" action "write" reset #t) ("/net-eth" action "write" name "eth0" configuration "dhcp" computer_name "<%= @host.shortname %>") ("/net-eth" action "write" commit #t) ("/root/change_password" language ("en_US") passwd_2 "123" passwd_1 "123") ("/users/create_account" new_name "da" gecos "" allow_su #t auto #f passwd_1 "123" passwd_2 "123")
- partition table example
((server (title . "Setup for server") (action . trivial) (actiondata ("swap" (size . 2021760) (fsim . "SWAPFS") (methods plain)) ("/" (size 15000000 . #t) (fsim . "Ext2/3") (methods plain)) ) ) )
- packages list get from distrib #{@mediapath}/Metadata/pkg-groups.tar
Updated by Sergey Logvinov almost 11 years ago
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.8.0
- Pull request https://github.com/theforeman/foreman/pull/966 added
Updated by Anonymous about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 22671c505ea10d7896b8590c4a88ff82c2476ba3.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 10
Actions