RobertCNelson / netinstall

Network Install for a bunch of arm boards
https://rcn-ee.com
80 stars 19 forks source link

network-console support #10

Open ghost opened 11 years ago

ghost commented 11 years ago

Hi,

I couldn't find my RS232 adapter, so I've worked on an option to enable download of network-console enabled initrd and needed preseed additions. Simply add --network-console to the options. Login is installer, password is SECRET123.

This was only tested with wheezy-armhf, YMMV.

RobertCNelson commented 11 years ago

Hi Vincent,

This looks cool, I'll give it some tests then merge it!

Thanks

ghost commented 11 years ago

During MD5 checks, I use variables in a way that can't possibly work (initrd is always downloaded). I'll fix this ASAP.

RobertCNelson commented 11 years ago

It looks to be in the comparsion.. (adding "x" to /bin/bash -e)

RobertCNelson commented 11 years ago

So, this fixes half of it..

https://gist.github.com/4066767

The other half, the script assumes there's only one Initrd, my first thought is to play with the "NETINSTALL" variable.. As it defines the file we download from the server, but when stored locally we can just append it.. NETINSTALL=${BOOT}_${NETINSTALL}...

RobertCNelson commented 11 years ago

Been hacking on this again, this should help fix the md5sum problem: https://github.com/RobertCNelson/netinstall/commit/6c9f48da416f5b4ed4a2ba28b29852da7d91e6ac