Erinevus lehekülje "Debiani pxe automaatpaigaldus" redaktsioonide vahel
Allikas: Kuutõrvaja
44. rida: | 44. rida: | ||
d-i clock-setup/utc boolean true | d-i clock-setup/utc boolean true | ||
− | d-i time/zone string | + | d-i time/zone string Europe/Tallinn |
d-i passwd/root-password password parool | d-i passwd/root-password password parool |
Redaktsioon: 29. september 2014, kell 22:07
Tundub, et üheks lihtsaks lahenduseks on preseed
Äraseletatult tuleb kõigepealt seadistada TFTP ja dhcp (eeldame, et need on juba paigaldatud, konfitud ja vajavad vaid täiendamist)
Dhcp konfi lisame vaid ühe enda installimist ootava masina mac aadressi.
host debian-netboot-test { hardware ethernet EA:D7:90:65:00:8F; fixed-address 10.0.0.7; }
Tõmmata http://www.debian.org/distrib/netinst#netboot). aadressilt netboot.tar.gz ja pakkida selle sisu lahti tftp kausta milleks meil /srv/tftpboot.
Tekitada spetsiaalne masina mac nimega konfifail /srv/tftproot/pxelinux.cfg/MAC-AADRESS
default debian-installer/amd64/linux append auto=true priority=critical vga=normal initrd=debian-installer/amd64/initrd.gz interface=eth0 url=http://10.0.0.2/debian2-conf
ja tekitada 10.0.0.2 veebiserverisse fail debian2-conf (see võib olla üsna suvalise nimega)
d-i debian-installer/locale string en_US
d-i console-keymaps-at/keymap select us
d-i keymap select us
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_hostname seen true
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/get_domain seen true
d-i netcfg/get_nameservers string 10.0.0.8
# meil pole gw masinat
d-i netcfg/no_default_route boolean true
d-i mirror/protocol string http
d-i mirror/country string EE
#d-i mirror/country string manual
d-i mirror/http/hostname string ftp.ee.debian.org
d-i mirror/http/directory string /debian/
d-i mirror/http/proxy string http://10.0.0.4:8123/
d-i mirror/suite string wheezy
d-i mirror/codename string wheezy
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Tallinn
d-i passwd/root-password password parool
d-i passwd/root-password-again password parool
d-i passwd/make-user boolean false
popularity-contest popularity-contest/participate boolean false
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
# Pick the "everything in one partition" layout
d-i partman-auto/choose_recipe select atomic
# Say yes to all the standard "are you sure you want to delete your
# disk" warnings.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i base-installer/kernel/linux/initramfs-generators string yaird
d-i base-installer/kernel/image linux-image-2.6-amd64
tasksel tasksel/first multiselect standard
d-i pkgsel/include string ssh rsync initrd-tools cramfsprogs lzop
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
Ja peale masinale tehtud rebooti hakkab installiprotsess käima.
proxy serverina sai kasutatud Polipod http://kuutorvaja.eenet.ee/wiki/Polipo