Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

A managed OpenVZ installation

3,970 bytes added, 08:24, 16 July 2009
no edit summary
<pre>URL=http://yourserver:yourport/yourpreseedfile</pre>
[[Image:Notbuu_1_preseed.png|200px|thumb|Grub menu screen]]
As example here is our preseed file:
The apt-proxy setup is as easy as 1-2-3 go.
Here the preseed file, please note the I have removed the comments but I make some explanations for clearer understanding: <pre>d-i debian-installer/locale string en_US.UTF8d-i console-keymaps-at/keymap select de-latin1-nodeadkeysd-i netcfg/choose_interface select autod-i netcfg/dhcp_timeout string 60d-i netcfg/get_hostname string unassigned-hostnamed-i netcfg/get_domain string unassigned-domaind-i netcfg/wireless_wep stringd-i mirror/country string enter information manually#This is our APT-PROXY addressd-i mirror/http/hostname string youraptproxy:9999d-i mirror/http/directory string /debiand-i mirror/suite string stabled-i clock-setup/ntp boolean true#NTP Serverd-i clock-setup/ntp-server string yourtimeserver#The partition setup – be careful! #By default the OpenVZ debian packages are using /var/lib/vzd-i partman-auto/method string lvmd-i partman-auto/purge_lvm_from_device boolean trued-i partman-lvm/confirm boolean trued-i partman-auto/expert_recipe string \ boot-root :: \ 150 150 150 ext3 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext3 } \ mountpoint{ /boot } \ . \ 5120 5120 5120 ext3 \ $primary{ } method{ format } format{ } \ use_filesystem{ } filesystem{ ext3 } \ mountpoint{ / } \ . \ 500 10000 1000000000 ext3 \ method{ format } format{ } $lvmok{ } \ use_filesystem{ } filesystem{ ext3 } \ mountpoint{ /var } \ . \ 4096 4096 4096 linux-swap \ method{ swap } format{ } $lvmok { } \ .d-i partman/confirm_write_new_label boolean trued-i partman/choose_partition \ select Finish partitioning and write changes to diskd-i partman/confirm boolean trued-i clock-setup/utc boolean trued-i time/zone string Europe/Viennad-i apt-setup/non-free boolean trued-i apt-setup/contrib boolean trued-i apt-setup/security_host youraptproxy:9999#Our private internal repository for some packagesd-i apt-setup/local0/repository string \ http://yourprivaterepository:10000/debian hns stabled-i apt-setup/local0/key string http://yourprivaterepository:10000/PublicKeyd-i passwd/make-user boolean false#The encrypted root password (this is only an example :) )d-i passwd/root-password-crypted password $1$v4rfe7wv$gEkbCLxCPhKaj92s.uJbD1d-i grub-installer/only_debian boolean trued-i grub-installer/with_other_os boolean truetasksel tasksel/first multiselect standard#Additional base packagesd-i pkgsel/include string openssh-server build-essential vim snmpd lib32z1-dev rsync ntp ntpdated-i finish-install/reboot_in_progress noted-i cdrom-detect/eject boolean falsexserver-xorg xserver-xorg/autodetect_monitor boolean truexserver-xorg xserver-xorg/config/monitor/selection-method \ select mediumxserver-xorg xserver-xorg/config/monitor/mode-list \ select 1024x768 @ 60 Hz#Packages that gets installated AFTER the base installation#hns* packages are build by our own to fasten the setup and managementd-i preseed/late_command string apt-proxyinstall hp-health hp-snmp-agents hpsmh hp-smh-templates hpacucli cpqacuxe ethtool linux-headers-2.conf file:6-openvz-amd64 linux-image-2.6-openvz-amd64 vzctl vzquota hns-zabbix-agentd hns-openvz-common hns-openvz-ubuntu-hosting hns-puppet firmware-qlogic</pre>
==The private Debian repository==
41
edits