Re: OpenBSD pxe automated install
2013/8/13 Loïc BLOT loic.b...@unix-experience.fr Hello Don, I haven't any problem with iPXE (used on my libvirt/KVM hypervisor). Same here, boot ipxe in kvm without any issues. And lastly, IMHO, optionally, it would be nice if the eventual solution was capable of being pxebooted via iPXE - open source boot firmware [start] At present, I have not been able to get bsd.rd or any sort of OpenBSD installer to run via ipxe -- May the most significant bit of your life be positive.
Re: OpenBSD pxe automated install
Hello Tito, thanks to give me another time the FAQ, you think i have never read. This boot process is okay for me but the problem is NOT the PXE boot process. The problem is to automate the installation. My OpenBSD pxeboot is chained after a pxelinux which already deserve automated installed debian. Now the goal is to deserve automated installed OpenBSD. I don't know if i don't choose the rights words to explain my need, or if nobody read all my answers to already answered questions... but i give a list of precision for future answers: 1. My problem is NOT PXE boot (http://www.openbsd.org/faq/faq6.html#PXE = NO) 2. My problem is NOT siteXX.tgz and customized installations with this mean (http://openbsd.org/faq/faq4.html#site = NO) 3. What i want is something like this: https://wiki.debian.org/DebianInstaller/Preseed or this https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5 /html/Installation_Guide/ch-kickstart2.html Then i ask @misc to know if an existing process exists, but now i think this doesn't exist and i must create a special bsd.rd PXE to do this (and share it to OpenBSD community, it will be great for deploy OpenBSD on several machines without doing anything. Have a nice day :) -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le mardi 13 août 2013 à 06:29 +0800, Tito Mari Francis Escaño a écrit : Please read http://www.openbsd.org/faq/faq6.html#PXE and hope this helps. You'd have been told with deliberately unpleasant choice of words if next time you don't research well before asking in the list. On Tue, Aug 13, 2013 at 4:57 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Thanks for the precision James, you confirmed what i have understood. I will search tomorrow. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:23 -0700, James A. Peltier a écrit : - Original Message - | read the FAQ, Loic. | | http://openbsd.org/faq/faq4.html#site | | Site*.tgz, install.site and upgrade.site are a good starting point. | | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT | loic.b...@unix-experience.fr wrote: | Hello @misc. | | Today i'm working on automated deploy with PXE. I have successful | found | and made automated PXE install on Debian with pxelinux. | | I know OpenBSD have a pxe boot image to netinstall the system | http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution | -environment/ | | Is there any options to automate the installation ? | I want a machine to boot on bsd.rd, read a configuration file (url | passed by etc/boot.conf, for example) and install with the read | parameters. | Is there any issue to do this or i do it myself ? | | Thanks for advance | -- | Best regards, | Loïc BLOT, | UNIX systems, security and network expert | http://www.unix-experience.fr | | [demime 1.01d removed an attachment of type | application/pgp-signature which had a name of signature.asc] If you are looking for automated partitioning and the like the site.install and site.upgrade don't apply whatsoever. In order to fully automate the installation you will need to modify the bsd.rd file contents in order to do that. site.install and site.upgrade can be used to do other things like install packages or upgrade the OS as necessary. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
On Mon, Aug 12, 2013 at 03:31:44PM -0400, Kenneth R Westerback wrote: On Mon, Aug 12, 2013 at 08:59:27PM +0200, Lo?c BLOT wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. There is no 'offical' method. If you check the mailing list archives you'll find a few people have come up with something that works for them. There is an official method but not fully completed I would say. Check install.sub, it offers couple of variables and functions which could be overriden by you to have your own installation (sets, partitioning, console...). But this is just for installer, for rest one should use siteXX.tgz, install.site and rc.firsttime. jirib
Re: OpenBSD pxe automated install
On Aug 12, 2013, at 11:37 PM, Loïc BLOT loic.b...@unix-experience.fr wrote: 3. What i want is something like this: https://wiki.debian.org/DebianInstaller/Preseed or this https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5 /html/Installation_Guide/ch-kickstart2.html Then i ask @misc to know if an existing process exists, but now i think this doesn't exist and i must create a special bsd.rd PXE to do this (and share it to OpenBSD community, it will be great for deploy OpenBSD on several machines without doing anything. Using the initial version of ânbender.com/install.netboot/install.html I have/had a completely automated OpenBSD install. I pxeboot this modified bsd.rd, and it discovers/downloads special installer support via DHCP/etc. Later, Nick did this: redux - fully automated OpenBSD installation - hiqu.biz We failed to get any sort of buy in to this approach into the main distribution⦠Don
Re: OpenBSD pxe automated install
Hi loic, Sorry for top posting. I need exactly the same for OpenBSD. Maybe we could work together... In my example all I need on top of it is some same network config and a first puppet run after reboot... But I hesitated to modify bsd.rd... Maybe it's more wise to create a netboot.rd and let bsd.rd alone. A starting point could be http://www.hiqu.biz/redux PM me if you have interest to work together with me :-) Cheers Marian -- sent via my mobile C64 Am 13.08.2013 um 08:37 schrieb Loïc BLOT loic.b...@unix-experience.fr: Hello Tito, thanks to give me another time the FAQ, you think i have never read. This boot process is okay for me but the problem is NOT the PXE boot process. The problem is to automate the installation. My OpenBSD pxeboot is chained after a pxelinux which already deserve automated installed debian. Now the goal is to deserve automated installed OpenBSD. I don't know if i don't choose the rights words to explain my need, or if nobody read all my answers to already answered questions... but i give a list of precision for future answers: 1. My problem is NOT PXE boot (http://www.openbsd.org/faq/faq6.html#PXE = NO) 2. My problem is NOT siteXX.tgz and customized installations with this mean (http://openbsd.org/faq/faq4.html#site = NO) 3. What i want is something like this: https://wiki.debian.org/DebianInstaller/Preseed or this https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5 /html/Installation_Guide/ch-kickstart2.html Then i ask @misc to know if an existing process exists, but now i think this doesn't exist and i must create a special bsd.rd PXE to do this (and share it to OpenBSD community, it will be great for deploy OpenBSD on several machines without doing anything. Have a nice day :) -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le mardi 13 août 2013 à 06:29 +0800, Tito Mari Francis Escaño a écrit : Please read http://www.openbsd.org/faq/faq6.html#PXE and hope this helps. You'd have been told with deliberately unpleasant choice of words if next time you don't research well before asking in the list. On Tue, Aug 13, 2013 at 4:57 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Thanks for the precision James, you confirmed what i have understood. I will search tomorrow. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:23 -0700, James A. Peltier a écrit : - Original Message - | read the FAQ, Loic. | | http://openbsd.org/faq/faq4.html#site | | Site*.tgz, install.site and upgrade.site are a good starting point. | | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT | loic.b...@unix-experience.fr wrote: | Hello @misc. | | Today i'm working on automated deploy with PXE. I have successful | found | and made automated PXE install on Debian with pxelinux. | | I know OpenBSD have a pxe boot image to netinstall the system | http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution | -environment/ | | Is there any options to automate the installation ? | I want a machine to boot on bsd.rd, read a configuration file (url | passed by etc/boot.conf, for example) and install with the read | parameters. | Is there any issue to do this or i do it myself ? | | Thanks for advance | -- | Best regards, | Loïc BLOT, | UNIX systems, security and network expert | http://www.unix-experience.fr | | [demime 1.01d removed an attachment of type | application/pgp-signature which had a name of signature.asc] If you are looking for automated partitioning and the like the site.install and site.upgrade don't apply whatsoever. In order to fully automate the installation you will need to modify the bsd.rd file contents in order to do that. site.install and site.upgrade can be used to do other things like install packages or upgrade the OS as necessary. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Am 13.08.2013 um 10:07 schrieb Don Jackson openbsd-m...@clark-communications.com: Later, Nick did this: redux - fully automated OpenBSD installation - hiqu.biz We failed to get any sort of buy in to this approach into the main distribution… This is sad :-/ For any mass deployment I need this... I was okay with doing it semi automated for the first three boxes at work. But nowadays it's 10 boxes and we are going for full automation. Hm hm... Marian
Re: OpenBSD pxe automated install
On 08/13/13 07:13, Marian Hettwer wrote: ... This is sad :-/ For any mass deployment I need this... I was okay with doing it semi automated for the first three boxes at work. But nowadays it's 10 boxes and we are going for full automation. Hm hm... Marian ten boxes. Um. Lets see. An OpenBSD install takes less than ten minutes (assuming small file systems. Yes the newfs step can take a while on big file systems). You can also do several installs at the same time. So you are trying to save at most 100 minutes. dang, I'm gonna spend much of that telling you how to do it. Sounds like you are about to spend a few weeks trying to save a few minutes. Do you think you can write some custom build scripting system in under two hours? Do you think you can LEARN a custom building system in under two hours? This isn't a long, painful, massively interactive Linux or Solaris install, your return on investment of time here is not going to come in 10 boxes. I doubt it would be there for 100 boxes (if you include the setup and infrastructure). Keep in mind, the OpenBSD install process is fairly simple. 1: (assuming appropriate) create fdisk partition. Most common case can be done on the command line. 2: disklabel (can be scripted; see softraid(4) man page. can also use a pre-defined template file, and predefined means before running disklabel). 3: newfs all partitions 4: mount 'em somewhere, presumably hanging off /mnt 5: untar all desired file sets 6: record a few key config files (network, machine name, etc.) 6a: might as well add your admin users? 7: MAKEDEV all 8: install boot loader (I probably forgot something. that was all from early morning memory) This is all easily scriptable. So, if you can define your task appropriately, you can write an install script, stick it in your own bsd.rd (yes, you will name it something other than bsd.rd) or build a install kernel which fetches the script from a master install server, and away you go. I can't get too excited about this, as your bulk install needs are probably very different than mine, and the marginal time savings per machine are going to be small. Nick.
Re: OpenBSD pxe automated install
Hi +1 We need this too! We need a fully automated OpenBSD install including partitioning etc, as we need to do installs on sites where an engineer cannot go (cheaply). I know the dev work is more than 2 hours.. Obviously.. But their are tens of thousands of OpenBSD users with /many/ servers each out there who would use this and collectively could save hundreds and hundreds and hundreds of hours by being able to have automated deploys. BUT, that said, looking at the bigger picture.. for the limited OpenBSD developers I would rather they spent their time on removing the GIANT kernel lock, and reworking ALTQ and PF to name our worst and most serious pain points than have them work on stuff that we can easily 'work around'.. :) Andy On Tue 13 Aug 2013 12:52:02 BST, Nick Holland wrote: On 08/13/13 07:13, Marian Hettwer wrote: ... This is sad :-/ For any mass deployment I need this... I was okay with doing it semi automated for the first three boxes at work. But nowadays it's 10 boxes and we are going for full automation. Hm hm... Marian ten boxes. Um. Lets see. An OpenBSD install takes less than ten minutes (assuming small file systems. Yes the newfs step can take a while on big file systems). You can also do several installs at the same time. So you are trying to save at most 100 minutes. dang, I'm gonna spend much of that telling you how to do it. Sounds like you are about to spend a few weeks trying to save a few minutes. Do you think you can write some custom build scripting system in under two hours? Do you think you can LEARN a custom building system in under two hours? This isn't a long, painful, massively interactive Linux or Solaris install, your return on investment of time here is not going to come in 10 boxes. I doubt it would be there for 100 boxes (if you include the setup and infrastructure). Keep in mind, the OpenBSD install process is fairly simple. 1: (assuming appropriate) create fdisk partition. Most common case can be done on the command line. 2: disklabel (can be scripted; see softraid(4) man page. can also use a pre-defined template file, and predefined means before running disklabel). 3: newfs all partitions 4: mount 'em somewhere, presumably hanging off /mnt 5: untar all desired file sets 6: record a few key config files (network, machine name, etc.) 6a: might as well add your admin users? 7: MAKEDEV all 8: install boot loader (I probably forgot something. that was all from early morning memory) This is all easily scriptable. So, if you can define your task appropriately, you can write an install script, stick it in your own bsd.rd (yes, you will name it something other than bsd.rd) or build a install kernel which fetches the script from a master install server, and away you go. I can't get too excited about this, as your bulk install needs are probably very different than mine, and the marginal time savings per machine are going to be small. Nick.
Re: OpenBSD pxe automated install
On Tue, Aug 13, 2013 at 07:52:02AM -0400, Nick Holland wrote: Lets see. An OpenBSD install takes less than ten minutes (assuming small file systems. Yes the newfs step can take a while on big file systems). You can also do several installs at the same time. So you are trying to save at most 100 minutes. dang, I'm gonna spend much of that telling you how to do it. Sounds like you are about to spend a few weeks trying to save a few minutes. A bit OT, maybe, but couldn't help it: http://xkcd.com/1205/ (I definitely should look at this chart more often...) --
Re: OpenBSD pxe automated install
Hi Nick, well, obviously you have a different opinion on automated installations. For me it's even crucial with just 10 boxes. I'm taking into account that I want to introduce more OpenBSD installations at work and that I also need to install QA environments. All of our infrastructure (2000+ servers) are fully automated installable. The lack of doing the same with OpenBSD is one reason to not introduce more OpenBSD installations. Long story short, your opinion on this topic differs to mine. Between OpenBSD 4.7 and 5.1 I had my own set of install scripts but I never came around to actually modify bsd.rd, or rather build my own one which starts the installation automatically. Looks like it's time to do this. And maybe I can sync up with some others in this thread and we could work together. Cheers, Marian PS.: For the interested reader, I always liked FAI for debian. My first scripted OpenBSD install was based on that. Am 13.08.13 13:52, schrieb Nick Holland: On 08/13/13 07:13, Marian Hettwer wrote: ... This is sad :-/ For any mass deployment I need this... I was okay with doing it semi automated for the first three boxes at work. But nowadays it's 10 boxes and we are going for full automation. Hm hm... Marian ten boxes. Um. Lets see. An OpenBSD install takes less than ten minutes (assuming small file systems. Yes the newfs step can take a while on big file systems). You can also do several installs at the same time. So you are trying to save at most 100 minutes. dang, I'm gonna spend much of that telling you how to do it. Sounds like you are about to spend a few weeks trying to save a few minutes. Do you think you can write some custom build scripting system in under two hours? Do you think you can LEARN a custom building system in under two hours? This isn't a long, painful, massively interactive Linux or Solaris install, your return on investment of time here is not going to come in 10 boxes. I doubt it would be there for 100 boxes (if you include the setup and infrastructure). Keep in mind, the OpenBSD install process is fairly simple. 1: (assuming appropriate) create fdisk partition. Most common case can be done on the command line. 2: disklabel (can be scripted; see softraid(4) man page. can also use a pre-defined template file, and predefined means before running disklabel). 3: newfs all partitions 4: mount 'em somewhere, presumably hanging off /mnt 5: untar all desired file sets 6: record a few key config files (network, machine name, etc.) 6a: might as well add your admin users? 7: MAKEDEV all 8: install boot loader (I probably forgot something. that was all from early morning memory) This is all easily scriptable. So, if you can define your task appropriately, you can write an install script, stick it in your own bsd.rd (yes, you will name it something other than bsd.rd) or build a install kernel which fetches the script from a master install server, and away you go. I can't get too excited about this, as your bulk install needs are probably very different than mine, and the marginal time savings per machine are going to be small. Nick.
Re: OpenBSD pxe automated install
On 2013 Aug 13 (Tue) at 14:27:40 +0200 (+0200), Marian Hettwer wrote: :Looks like it's time to do this. And maybe I can sync up with some :others in this thread and we could work together. I'm looking at the diffs originally from Nick Bender (links are earlier in the thread), and will try to review and work this in. I and some other developers want this for our own projects as well. -- Admiration, n.: Our polite recognition of another's resemblance to ourselves. -- Ambrose Bierce, The Devil's Dictionary
Re: OpenBSD pxe automated install
On Tue, Aug 13, 2013 at 02:38:36PM +0200, Peter Hessler wrote: On 2013 Aug 13 (Tue) at 14:27:40 +0200 (+0200), Marian Hettwer wrote: :Looks like it's time to do this. And maybe I can sync up with some :others in this thread and we could work together. I'm looking at the diffs originally from Nick Bender (links are earlier in the thread), and will try to review and work this in. I and some other developers want this for our own projects as well. Wouldn't be better to work on install.sub[1] and also maybe to move networking setup more in the beginning of install process so one could download some setup script from network? [1] http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/miniroot/install.sub?rev=1.683 jirib
Re: OpenBSD pxe automated install
On Tue, Aug 13, 2013 at 01:07:29PM +0100, Andy wrote: Hi +1 We need this too! We need a fully automated OpenBSD install including partitioning etc, as we need to do installs on sites where an engineer cannot go (cheaply). Hi. In the company I work for (M:Tier), we do fully automated OpenBSD installations on servers, appliances and workstations. We use a modified bsd.rd kernel for that. Then at the very end, a puppet client is run to handle post-installation tasks (although that part can obviously be done by other means). Cheers! -- Antoine
Re: OpenBSD pxe automated install
Hello Marian, i think you are right, because bsd.rd is required for last chance to repair system, among others. My vision is to have a system like we have in debian, i think it's proper. In fact, the problem is not to modify the installer to use the configuration file, it's to setup network automaticly to get this file. On debian, URL is passed by a kernel variable on pxelinux (url=http/ftp/tftp://...). If we can pass this variable to OpenBSD boot.conf file (used for PXE), and setup URL + network method (we need to set the config URL, and network methods (iface + dhcp/static) to get this file), we can modify install script to use some obtained variabled, loaded into this file. Many people want this function, i think we must think together to see what everybody want. What do you think about my proposed method ? We can also pass config file by DHCP (string record ?) or DNS (special TXT record ?) but it's not really automated because it doesn't resolve the networking connection problem. -- Best regards, Loïc BLOT, Engineering UNIX Systems, Security and Networks http://www.unix-experience.fr Le mardi 13 août 2013 à 13:09 +0200, Marian Hettwer a écrit : Hi loic, Sorry for top posting. I need exactly the same for OpenBSD. Maybe we could work together... In my example all I need on top of it is some same network config and a first puppet run after reboot... But I hesitated to modify bsd.rd... Maybe it's more wise to create a netboot.rd and let bsd.rd alone. A starting point could be http://www.hiqu.biz/redux PM me if you have interest to work together with me :-) Cheers Marian -- sent via my mobile C64 Am 13.08.2013 um 08:37 schrieb Loïc BLOT loic.b...@unix-experience.fr: Hello Tito, thanks to give me another time the FAQ, you think i have never read. This boot process is okay for me but the problem is NOT the PXE boot process. The problem is to automate the installation. My OpenBSD pxeboot is chained after a pxelinux which already deserve automated installed debian. Now the goal is to deserve automated installed OpenBSD. I don't know if i don't choose the rights words to explain my need, or if nobody read all my answers to already answered questions... but i give a list of precision for future answers: 1. My problem is NOT PXE boot (http://www.openbsd.org/faq/faq6.html#PXE = NO) 2. My problem is NOT siteXX.tgz and customized installations with this mean (http://openbsd.org/faq/faq4.html#site = NO) 3. What i want is something like this: https://wiki.debian.org/DebianInstaller/Preseed or this https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5 /html/Installation_Guide/ch-kickstart2.html Then i ask @misc to know if an existing process exists, but now i think this doesn't exist and i must create a special bsd.rd PXE to do this (and share it to OpenBSD community, it will be great for deploy OpenBSD on several machines without doing anything. Have a nice day :) -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le mardi 13 août 2013 à 06:29 +0800, Tito Mari Francis Escaño a écrit : Please read http://www.openbsd.org/faq/faq6.html#PXE and hope this helps. You'd have been told with deliberately unpleasant choice of words if next time you don't research well before asking in the list. On Tue, Aug 13, 2013 at 4:57 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Thanks for the precision James, you confirmed what i have understood. I will search tomorrow. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:23 -0700, James A. Peltier a écrit : - Original Message - | read the FAQ, Loic. | | http://openbsd.org/faq/faq4.html#site | | Site*.tgz, install.site and upgrade.site are a good starting point. | | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT | loic.b...@unix-experience.fr wrote: | Hello @misc. | | Today i'm working on automated deploy with PXE. I have successful | found | and made automated PXE install on Debian with pxelinux. | | I know OpenBSD have a pxe boot image to netinstall the system | http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution | -environment/ | | Is there any options to automate the installation ? | I want a machine to boot on bsd.rd, read a configuration file (url | passed by etc/boot.conf, for example) and install with the read | parameters. | Is there any issue to do this or i do it myself ? | | Thanks for advance | -- | Best regards, | Loïc BLOT,
Re: OpenBSD pxe automated install
On Tue, Aug 13, 2013 at 6:45 AM, Jiri B ji...@devio.us wrote: On Tue, Aug 13, 2013 at 02:38:36PM +0200, Peter Hessler wrote: On 2013 Aug 13 (Tue) at 14:27:40 +0200 (+0200), Marian Hettwer wrote: :Looks like it's time to do this. And maybe I can sync up with some :others in this thread and we could work together. I'm looking at the diffs originally from Nick Bender (links are earlier in the thread), and will try to review and work this in. I and some other developers want this for our own projects as well. Wouldn't be better to work on install.sub[1] and also maybe to move networking setup more in the beginning of install process so one could download some setup script from network? [1] http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/miniroot/install.sub?rev=1.683 jirib Redux is mostly a set of patches against the standard install scripts ( http://hiqu.biz/redux). I'm not apposed to doing more work on it if there is interest...
Re: OpenBSD pxe automated install
Hi Loic, Am 13.08.13 15:43, schrieb � Blot: Hello Marian, i think you are right, because bsd.rd is required for last chance to repair system, among others. right. And I'd like to leave it untouched. This hopefully also increases the possibility that whatever we come up with might get added upstream... ;) My vision is to have a system like we have in debian, i think it's proper. In fact, the problem is not to modify the installer to use the configuration file, it's to setup network automaticly to get this file. On debian, URL is passed by a kernel variable on pxelinux (url=http/ftp/tftp://...). If we can pass this variable to OpenBSD boot.conf file (used for PXE), and setup URL + network method (we need to set the config URL, and network methods (iface + dhcp/static) to get this file), we can modify install script to use some obtained variabled, loaded into this file. Many people want this function, i think we must think together to see what everybody want. What do you think about my proposed method ? I agree that the most pressing point is automatic network configuration in order to be able to download additional configs, like disk config, package config, ... I believe it's save to assume that a DHCP server is around, since this one is needed anyways to pxeboot the box. So after the boot of our netboot.rd kernel, we need to figure out which interface was used for pxe config and then do a dhclient on this interface. IIRC detection of available NICs is part of install.sub, so we might just use that routine. If we got an IP address, dhcp should probably give extra options, like the config server url where we then can find and download the additional configs. From there it should be easy to do the fully automated installation. After that, before the reboot we might want to be able to set up things like: - serial console - some default/random root pw - some root ssh key - maybe additional packages (like puppet) then reboot. We can also pass config file by DHCP (string record ?) or DNS (special TXT record ?) but it's not really automated because it doesn't resolve the networking connection problem. We could and probably should use DHCP options, since as stated above, dhcp servers are available for the pxeboot anyways. Should we take this discussion off the list now? If so, who would like to be part of the next emails? I'd guess Loic, me, phessler (?), Nick Bender (?) and I will also add a colleague some might know (Uwe Stuehler uwe@). Cheers, ./Marian PS.: personal opinion: I like FAI (www.fai.org) much more then debians preseed.cfg... check it out ;)
Re: OpenBSD pxe automated install
On Aug 13, 2013, at 9:48 AM, Marian Hettwer m...@kernel32.de wrote: I believe it's save to assume that a DHCP server is around, since this one is needed anyways to pxeboot the box. So after the boot of our netboot.rd kernel, we need to figure out which interface was used for pxe config and then do a dhclient on this interface. I thought Nick's work did much/all of this. If we got an IP address, dhcp should probably give extra options, like the config server url where we then can find and download the additional configs. We could and probably should use DHCP options, since as stated above, dhcp servers are available for the pxeboot anyways. Nick's work definitely did this. Should we take this discussion off the list now? If so, who would like to be part of the next emails? I'd guess Loic, me, phessler (?), Nick Bender (?) and I will also add a colleague some might know (Uwe Stuehler uwe@). I would like to be included in any further discussion either at this email address or don dot jackson at gmail Here are two additional links that provide historical context, and links to past work: https://groups.google.com/d/topic/mailing.openbsd.tech/X01IcFJ0MVU/discussion https://groups.google.com/d/topic/mailing.openbsd.tech/h1-jrS36lqo/discussion And lastly, IMHO, optionally, it would be nice if the eventual solution was capable of being pxebooted via iPXE - open source boot firmware [start] At present, I have not been able to get bsd.rd or any sort of OpenBSD installer to run via ipxe Best regards, Don
Re: OpenBSD pxe automated install
On Tue, Aug 13, 2013 at 9:48 AM, Marian Hettwer m...@kernel32.de wrote: Hi Loic, Am 13.08.13 15:43, schrieb � Blot: Hello Marian, i think you are right, because bsd.rd is required for last chance to repair system, among others. right. And I'd like to leave it untouched. This hopefully also increases the possibility that whatever we come up with might get added upstream... ;) There's nothing preventing you from building your own installer within the RAMDISK kernel. I've done it in the past to handle some personalized extensions. I agree that the most pressing point is automatic network configuration in order to be able to download additional configs, like disk config, package config, ... It's doable within the base tools, if you assemble things correctly. No reason to not have these stuff off of NFS or TFTP to pull in the config. PS.: personal opinion: I like FAI (www.fai.org) much more then debians preseed.cfg... check it out ;) http://fai-project.org/ is the correct URL. I've had some interesting problems with FAI in the past. Once it's working, it's quite wonderful.
Re: OpenBSD pxe automated install
Am 13.08.2013 um 19:08 schrieb Johan Beisser j...@caustic.org: On Tue, Aug 13, 2013 at 9:48 AM, Marian Hettwer m...@kernel32.de wrote: Hi Loic, Am 13.08.13 15:43, schrieb � Blot: PS.: personal opinion: I like FAI (www.fai.org) much more then debians preseed.cfg... check it out ;) http://fai-project.org/ is the correct URL. I've had some interesting problems with FAI in the past. Once it's working, it's quite wonderful. Oops. Sorry for taking the wrong URL... And thanks for correcting me :) Wrt fai and OpenBSD, I just like the concept of FAI. The several stages it uses. And everywhere one can hook in, if one needs something special. For instance are we using FAI to setup raid, do inventory run of new hardware or firmware upgrades of existing ones. For the latter too, FAI doesn't touch the disks... :)
Re: OpenBSD pxe automated install
Hello Don, I haven't any problem with iPXE (used on my libvirt/KVM hypervisor). Yesterday i have booted on a pxelinux which chainload a OpenBSD pxeboot.0 (because i have made a menu for tests to choose automated debian install or OpenBSD. I will look at Nick's word tonight, but i think it's one very good way to do this. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le mardi 13 août 2013 à 10:05 -0700, Don Jackson a écrit : On Aug 13, 2013, at 9:48 AM, Marian Hettwer m...@kernel32.de wrote: I believe it's save to assume that a DHCP server is around, since this one is needed anyways to pxeboot the box. So after the boot of our netboot.rd kernel, we need to figure out which interface was used for pxe config and then do a dhclient on this interface. I thought Nick's work did much/all of this. If we got an IP address, dhcp should probably give extra options, like the config server url where we then can find and download the additional configs. We could and probably should use DHCP options, since as stated above, dhcp servers are available for the pxeboot anyways. Nick's work definitely did this. Should we take this discussion off the list now? If so, who would like to be part of the next emails? I'd guess Loic, me, phessler (?), Nick Bender (?) and I will also add a colleague some might know (Uwe Stuehler uwe@). I would like to be included in any further discussion either at this email address or don dot jackson at gmail Here are two additional links that provide historical context, and links to past work: https://groups.google.com/d/topic/mailing.openbsd.tech/X01IcFJ0MVU/discussion https://groups.google.com/d/topic/mailing.openbsd.tech/h1-jrS36lqo/discussion And lastly, IMHO, optionally, it would be nice if the eventual solution was capable of being pxebooted via iPXE - open source boot firmware [start] At present, I have not been able to get bsd.rd or any sort of OpenBSD installer to run via ipxe Best regards, Don [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Hello James, you are right users may have choice. I'm working to build a distrib for pxebooting (pxeboot + bsd.rd generation). After i will try to implement those patches, which are very interesting for OpenBSD http://nbender.com/install.netboot/netboot.diff I only think we musnt't download a script and execute what it is on it. We must use variables to pass to already existing install script -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le mardi 13 août 2013 à 14:16 -0700, James A. Peltier a écrit : - Original Message - | On Tue, Aug 13, 2013 at 9:48 AM, Marian Hettwer m...@kernel32.de | wrote: | Hi Loic, | | | Am 13.08.13 15:43, schrieb � Blot: | | Hello Marian, | i think you are right, because bsd.rd is required for last chance | to | repair system, among others. | | | right. And I'd like to leave it untouched. This hopefully also | increases the | possibility that whatever we come up with might get added | upstream... ;) | | There's nothing preventing you from building your own installer | within | the RAMDISK kernel. I've done it in the past to handle some | personalized extensions. This isn't the point though. Debian, RedHat, Suse, all of these OSs include support for network installs by default, no customization of the installer required. OpenBSD does not, but it would be VERY nice if it did, even if it was just noting that it was PXE booting and should look at the location where it PXE booted (a mirror) and then looked for install.netboot for network boot instructions, fetched it and ran it. This wouldn't require any changes on behalf of an end user to make this process happen. If install.netboot doesn't exist, carry on with an interactive install, else fetch it and run it. No building of a custom RAMDISK required. | I agree that the most pressing point is automatic network | configuration in | order to be able to download additional configs, like disk config, | package | config, ... | | It's doable within the base tools, if you assemble things correctly. | No reason to not have these stuff off of NFS or TFTP to pull in the | config. There is reason not to do this. HTTP based booting being one of them. VMs without NFS access being another. The complete inability to use NFS due to policy being another. I think the point is that the end user shouldn't have to build/modify the base installer to get this functionality. The diffs presented show that it could be possible and other OSs already offer this. Maybe not on the floppy disk versions but certainly the CD version should offer it. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
- Original Message - | On Tue, Aug 13, 2013 at 9:48 AM, Marian Hettwer m...@kernel32.de | wrote: | Hi Loic, | | | Am 13.08.13 15:43, schrieb � Blot: | | Hello Marian, | i think you are right, because bsd.rd is required for last chance | to | repair system, among others. | | | right. And I'd like to leave it untouched. This hopefully also | increases the | possibility that whatever we come up with might get added | upstream... ;) | | There's nothing preventing you from building your own installer | within | the RAMDISK kernel. I've done it in the past to handle some | personalized extensions. This isn't the point though. Debian, RedHat, Suse, all of these OSs include support for network installs by default, no customization of the installer required. OpenBSD does not, but it would be VERY nice if it did, even if it was just noting that it was PXE booting and should look at the location where it PXE booted (a mirror) and then looked for install.netboot for network boot instructions, fetched it and ran it. This wouldn't require any changes on behalf of an end user to make this process happen. If install.netboot doesn't exist, carry on with an interactive install, else fetch it and run it. No building of a custom RAMDISK required. | I agree that the most pressing point is automatic network | configuration in | order to be able to download additional configs, like disk config, | package | config, ... | | It's doable within the base tools, if you assemble things correctly. | No reason to not have these stuff off of NFS or TFTP to pull in the | config. There is reason not to do this. HTTP based booting being one of them. VMs without NFS access being another. The complete inability to use NFS due to policy being another. I think the point is that the end user shouldn't have to build/modify the base installer to get this functionality. The diffs presented show that it could be possible and other OSs already offer this. Maybe not on the floppy disk versions but certainly the CD version should offer it. -- James A. Peltier Manager, IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.sfu.ca/itservices “A successful person is one who can lay a solid foundation from the bricks others have thrown at them.” -David Brinkley via Luke Shaw
Re: OpenBSD pxe automated install
read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Hello, thanks for your reply Johan, but this is not why i want. site.tgz contain a set of preconfigured files to deploy with other sets to deploy similar machines. My need is to install a clean OpenBSD with an automated mean: The server boot in PXE and install OpenBSD, configure network, hostname, disk, install sets by network and reboots without any human intervention. After, the server can use siteXX.tgz, yes, but this is not the main problem here -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:09 -0700, Johan Beisser a écrit : read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Please read the FAQ entry I sent you, pay close attention to install.site and upgrade.site. Both of those are scripts that are executed by the installer. Fully automatic installs have been done, usually by modifying the installer script or root's .profile. Basically: automatic, unattended installation of openbsd is possible, but you have to build the glue for it. Sent form my iFoe. On Aug 12, 2013, at 12:52, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello, thanks for your reply Johan, but this is not why i want. site.tgz contain a set of preconfigured files to deploy with other sets to deploy similar machines. My need is to install a clean OpenBSD with an automated mean: The server boot in PXE and install OpenBSD, configure network, hostname, disk, install sets by network and reboots without any human intervention. After, the server can use siteXX.tgz, yes, but this is not the main problem here -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:09 -0700, Johan Beisser a écrit : read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Build your own bsd.rd which feeds precomputed values for disk size and so on. Not super hard to do. Den 12 aug 2013 21:44 skrev Loïc BLOT loic.b...@unix-experience.fr: Hello, thanks for your reply Johan, but this is not why i want. site.tgz contain a set of preconfigured files to deploy with other sets to deploy similar machines. My need is to install a clean OpenBSD with an automated mean: The server boot in PXE and install OpenBSD, configure network, hostname, disk, install sets by network and reboots without any human intervention. After, the server can use siteXX.tgz, yes, but this is not the main problem here -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:09 -0700, Johan Beisser a écrit : read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Sorry if i misunderstood the goal of install.site. I look at this, more clearly, to see if it's the solution i search. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 13:07 -0700, Johan Beisser a écrit : Please read the FAQ entry I sent you, pay close attention to install.site and upgrade.site. Both of those are scripts that are executed by the installer. Fully automatic installs have been done, usually by modifying the installer script or root's .profile. Basically: automatic, unattended installation of openbsd is possible, but you have to build the glue for it. Sent form my iFoe. On Aug 12, 2013, at 12:52, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello, thanks for your reply Johan, but this is not why i want. site.tgz contain a set of preconfigured files to deploy with other sets to deploy similar machines. My need is to install a clean OpenBSD with an automated mean: The server boot in PXE and install OpenBSD, configure network, hostname, disk, install sets by network and reboots without any human intervention. After, the server can use siteXX.tgz, yes, but this is not the main problem here -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:09 -0700, Johan Beisser a écrit : read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
like kickstart for devil redhat ? From: Loïc BLOT loic.b...@unix-experience.fr Sent: Mon Aug 12 21:52:05 CEST 2013 To: misc@openbsd.org Subject: Re: OpenBSD pxe automated install Hello, thanks for your reply Johan, but this is not why i want. site.tgz contain a set of preconfigured files to deploy with other sets to deploy similar machines. My need is to install a clean OpenBSD with an automated mean: The server boot in PXE and install OpenBSD, configure network, hostname, disk, install sets by network and reboots without any human intervention. After, the server can use siteXX.tgz, yes, but this is not the main problem here -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:09 -0700, Johan Beisser a écrit : read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] Cordialement Francois Pussault 3701 - 8 rue Marcel Pagnol 31100 Toulouse France +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr
Re: OpenBSD pxe automated install
It's exactly that. Kickstart for Redhat and Preseed.cfg for Debian -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 22:20 +0200, Francois Pussault a écrit : like kickstart for devil redhat ? From: Loïc BLOT loic.b...@unix-experience.fr Sent: Mon Aug 12 21:52:05 CEST 2013 To: misc@openbsd.org Subject: Re: OpenBSD pxe automated install Hello, thanks for your reply Johan, but this is not why i want. site.tgz contain a set of preconfigured files to deploy with other sets to deploy similar machines. My need is to install a clean OpenBSD with an automated mean: The server boot in PXE and install OpenBSD, configure network, hostname, disk, install sets by network and reboots without any human intervention. After, the server can use siteXX.tgz, yes, but this is not the main problem here -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:09 -0700, Johan Beisser a écrit : read the FAQ, Loic. http://openbsd.org/faq/faq4.html#site Site*.tgz, install.site and upgrade.site are a good starting point. On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] Cordialement Francois Pussault 3701 - 8 rue Marcel Pagnol 31100 Toulouse France +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
On Mon, Aug 12, 2013 at 08:59:27PM +0200, Lo?c BLOT wrote: Hello @misc. Today i'm working on automated deploy with PXE. I have successful found and made automated PXE install on Debian with pxelinux. I know OpenBSD have a pxe boot image to netinstall the system http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution -environment/ Is there any options to automate the installation ? I want a machine to boot on bsd.rd, read a configuration file (url passed by etc/boot.conf, for example) and install with the read parameters. Is there any issue to do this or i do it myself ? Thanks for advance -- Best regards, Lo??c BLOT, UNIX systems, security and network expert http://www.unix-experience.fr [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc] There is no 'offical' method. If you check the mailing list archives you'll find a few people have come up with something that works for them. Ken
Re: OpenBSD pxe automated install
- Original Message - | read the FAQ, Loic. | | http://openbsd.org/faq/faq4.html#site | | Site*.tgz, install.site and upgrade.site are a good starting point. | | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT | loic.b...@unix-experience.fr wrote: | Hello @misc. | | Today i'm working on automated deploy with PXE. I have successful | found | and made automated PXE install on Debian with pxelinux. | | I know OpenBSD have a pxe boot image to netinstall the system | http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution | -environment/ | | Is there any options to automate the installation ? | I want a machine to boot on bsd.rd, read a configuration file (url | passed by etc/boot.conf, for example) and install with the read | parameters. | Is there any issue to do this or i do it myself ? | | Thanks for advance | -- | Best regards, | Loïc BLOT, | UNIX systems, security and network expert | http://www.unix-experience.fr | | [demime 1.01d removed an attachment of type | application/pgp-signature which had a name of signature.asc] If you are looking for automated partitioning and the like the site.install and site.upgrade don't apply whatsoever. In order to fully automate the installation you will need to modify the bsd.rd file contents in order to do that. site.install and site.upgrade can be used to do other things like install packages or upgrade the OS as necessary. -- James A. Peltier Manager, IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.sfu.ca/itservices “A successful person is one who can lay a solid foundation from the bricks others have thrown at them.” -David Brinkley via Luke Shaw
Re: OpenBSD pxe automated install
Thanks for the precision James, you confirmed what i have understood. I will search tomorrow. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:23 -0700, James A. Peltier a écrit : - Original Message - | read the FAQ, Loic. | | http://openbsd.org/faq/faq4.html#site | | Site*.tgz, install.site and upgrade.site are a good starting point. | | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT | loic.b...@unix-experience.fr wrote: | Hello @misc. | | Today i'm working on automated deploy with PXE. I have successful | found | and made automated PXE install on Debian with pxelinux. | | I know OpenBSD have a pxe boot image to netinstall the system | http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution | -environment/ | | Is there any options to automate the installation ? | I want a machine to boot on bsd.rd, read a configuration file (url | passed by etc/boot.conf, for example) and install with the read | parameters. | Is there any issue to do this or i do it myself ? | | Thanks for advance | -- | Best regards, | Loïc BLOT, | UNIX systems, security and network expert | http://www.unix-experience.fr | | [demime 1.01d removed an attachment of type | application/pgp-signature which had a name of signature.asc] If you are looking for automated partitioning and the like the site.install and site.upgrade don't apply whatsoever. In order to fully automate the installation you will need to modify the bsd.rd file contents in order to do that. site.install and site.upgrade can be used to do other things like install packages or upgrade the OS as necessary. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD pxe automated install
Please read http://www.openbsd.org/faq/faq6.html#PXE and hope this helps. You'd have been told with deliberately unpleasant choice of words if next time you don't research well before asking in the list. On Tue, Aug 13, 2013 at 4:57 AM, Loïc BLOT loic.b...@unix-experience.frwrote: Thanks for the precision James, you confirmed what i have understood. I will search tomorrow. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 12 août 2013 à 12:23 -0700, James A. Peltier a écrit : - Original Message - | read the FAQ, Loic. | | http://openbsd.org/faq/faq4.html#site | | Site*.tgz, install.site and upgrade.site are a good starting point. | | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT | loic.b...@unix-experience.fr wrote: | Hello @misc. | | Today i'm working on automated deploy with PXE. I have successful | found | and made automated PXE install on Debian with pxelinux. | | I know OpenBSD have a pxe boot image to netinstall the system | http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution | -environment/ | | Is there any options to automate the installation ? | I want a machine to boot on bsd.rd, read a configuration file (url | passed by etc/boot.conf, for example) and install with the read | parameters. | Is there any issue to do this or i do it myself ? | | Thanks for advance | -- | Best regards, | Loïc BLOT, | UNIX systems, security and network expert | http://www.unix-experience.fr | | [demime 1.01d removed an attachment of type | application/pgp-signature which had a name of signature.asc] If you are looking for automated partitioning and the like the site.install and site.upgrade don't apply whatsoever. In order to fully automate the installation you will need to modify the bsd.rd file contents in order to do that. site.install and site.upgrade can be used to do other things like install packages or upgrade the OS as necessary. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]