
On Tue, Nov 15, 2011 at 21:23, Chris Samuel <chris@csamuel.org> wrote:
Hi folks,
I've got a couple of machines I want to give away and I'm hoping to do that with a PXE'd Debian install done using its OEM mode (in other words it'll ask them some questions from the recipient on first boot to set up their account).
However, everything I can find about oem mode (which isn't a lot) talks about using the preseed file and as there's just 2 of these I was rather hoping that it would be a boot option to make it use OEM mode. If I do need to use OEM mode I've no idea how I'd do that with a PXE netboot'ed install..
AFAIK oem-config is only available in ubuntu, and not in debian. The PXE line we use for debian squeeze is: label squeeze_amd64_auto_install kernel debian/squeeze/amd64/linux append vga=normal initrd=debian/squeeze/amd64/initrd.gz -- auto=true url=http://yourwebserver/debian/squeeze/preseed.cfg locale=en_AU interface=eth0 console-keymaps-at/keymap=us country=AU hostname=ChangeMe domain=localdomain language=en and the preseed.cfg on the webserver: d-i debian-installer/locale string en_AU d-i console-keymaps-at/keymap select us d-i netcfg/choose_interface select eth0 d-i netcfg/disable_dhcp boolean true d-i netcfg/dhcp_options select Configure network manually d-i netcfg/confirm_static boolean true d-i mirror/protocol string http d-i mirror/country string manual d-i mirror/http/hostname string mirror.aarnet.edu.au d-i mirror/http/directory string /debian d-i mirror/http/proxy string d-i clock-setup/utc boolean true d-i time/zone string Australia/Melbourne d-i clock-setup/ntp boolean true d-i clock-setup/ntp-server string au.pool.ntp.org d-i partman-auto/method string regular d-i partman-lvm/device_remove_lvm boolean true d-i partman-md/device_remove_md boolean true d-i partman-lvm/confirm boolean true d-i partman-auto/choose_recipe select atomic d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i passwd/make-user boolean false tasksel tasksel/first multiselect standard d-i pkgsel/include string openssh-server vim popularity-contest popularity-contest/participate boolean false 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 It looks like (from some quick googling), if you decide to go with ubuntu and use oem-config, the following are the d-i oem-config options: d-i oem-config/enable boolean true d-i user-setup/allow-password-weak boolean true d-i passwd/user-fullname string OEM Configuration (temporary user) d-i passwd/username string oem d-i passwd/user-password string oem d-i passwd/user-password-again string oem Alternatively, from the screenshots here: https://help.ubuntu.com/community/Ubuntu_OEM_Installer_Overview It looks like you could loop mount an ubuntu cd, copy the vmlinuz/initrd/pxelinux.{0.cfg} and pxechain the netboot installer and choose the "Install in OEM mode" option, e.g. label ubuntu kernel pxechain.com append ::ubuntu/11.10/amd64/pxelinux.0 Hope that helps, Marcus. -- Marcus Furlong