Project

General

Profile

Actions

Feature #3377

closed

Altlinux Operating Systems Support

Added by Sergey Logvinov almost 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Support AltLinux (www.altlinux.com)

3 default provision templates
  • 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
Actions #3

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
Actions #4

Updated by Anonymous about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release set to 10
Actions

Also available in: Atom PDF