On Fri, Jan 13, 2017 at 11:14:16AM -0700, Theo de Raadt wrote: > > On Fri, Jan 13, 2017 at 06:20:25AM -0600, Ed Ahlsen-Girard wrote: > > > The man page seems to indicate that autoinstall will work with an > > > auto_upgrade.conf file on the local machine, but specifying the path as: > > > > > > /auto_upgrade.conf > > > or > > > file://auto_upgrade.conf > > > or > > > file:////auto_upgrade.conf > > > > > > do not work. > > > > > > Is this still a "watch this space!" feature? > > > > It does work. However, / is the root of bsd.rd, not the root of the > > system you want to upgrade (this would have to be guessed and the > > upgrade script doesn't do guessing without asking for confirmation). > > It's a bit of a pain to get the file there, and I don't think there's > > any official documentation. semarie@ wrote some instructions a while > > back: > > https://marc.info/?l=openbsd-misc&m=141552533922277&w=2 > > see also: > > https://marc.info/?l=openbsd-misc&m=146890249418788&w=2 > > where he indicates that there are more posts to be found on misc (but I > > don't know where). > > I would be very surprised to hear that people are using > vnconfig+mount+vnconfig+mount, to add such a file. And while doing so > potentially running low on space issues (it isn't just a matter of > the file fitting, there must be some slop left over because the > installer needs a bit of /tmp) > > Should everything work in every way? I'm not so sure. My truck > still doesn't fly.
The original idea of this was to allow ... Welcome to the OpenBSD/amd64 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # cat <<_EOF >/auto_install.conf > system hostname = hostA > password for root = whateversecurepassword > http server = ftp.hostserver.de > _EOF # exit erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/amd64 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? a If the system had internet access during installation, it's even enough to create an empty /auto_upgrade.conf, because the last used mirror will be used automatically. Welcome to the OpenBSD/amd64 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # >/auto_upgrade.conf # exit erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/amd64 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? a -- -=[rpe]=-