I just applied for the ubuntu mentors program, and saw this bug and figured I'd give it a shot. Here is my solution:
I noticed this program supports third party plugins. Specifically, it says to put a script in the folder /usr/share/recovery-mode/options and that the script will show up in the main menu of the recovery screen.
So I created a script that comes up in the recovery screen called netroot which basically starts a /sbin/sulogin, but starts dhclient eth0 before it, to assign your eth0 interface a DHCP address. I tested it a few times and it works, I was able to reach the internet and, more importantly, make apt-get work.
The script is attached, but what do I do now? How do I get this added to the package? Is it good enough, or am I off base here?
Greetings
@Michael Vogt
I just applied for the ubuntu mentors program, and saw this bug and figured I'd give it a shot. Here is my solution:
I noticed this program supports third party plugins. Specifically, it says to put a script in the folder /usr/share/ recovery- mode/options and that the script will show up in the main menu of the recovery screen.
So I created a script that comes up in the recovery screen called netroot which basically starts a /sbin/sulogin, but starts dhclient eth0 before it, to assign your eth0 interface a DHCP address. I tested it a few times and it works, I was able to reach the internet and, more importantly, make apt-get work.
The script is attached, but what do I do now? How do I get this added to the package? Is it good enough, or am I off base here?
Thank you for your time.