upgrading with preupgrade-cli --vnc

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Wed May 30 19:43:32 UTC 2012


Hi all,

What grub2 secret sauce do I need to upgrade remote servers to F17 using 
vnc?

This is the first step, clearly:

preupgrade-cli --vnc=apassword --ip=192.168.0.240 
--gateway=192.168.0.128 --netmask=255.255.255.0 --dns=192.168.0.2 
"Fedora 17 (Beefy Miracle)"

However, this installs the upgrade boot menu item as a non-default item. 
In other words, by default it will boot back into F16 without doing the 
upgrade.

What's the correct way of forcing the upgrade choice in the grub2 menu 
to be the default, so I don't need a local user at the console?

I edited /etc/default/grub, setting grub2_default to "0", and ran:

grub2-mkconfig -o /boot/grub2/grub.cfg

but that wiped out the upgrade choice entirely. Not sure why.

I don't think the preupgrade-cli docs have caught up with grub2.

- Mike


More information about the users mailing list