Hello,
I have a fedora17 client with koan 2.2.3 and i want to reinstall the
system with te following command:
[root@client1 ~]# koan --server server1 --system=client1 --replace-self
...
- ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz_koan',
'--initrd',
'/boot/initrd.img_koan', '--args',
'"ks=http://server1/cblr/svc/op/ks/system/client1 ksdevice=link
kssendmac lang= text "', '--copy-default', '--make-default',
'--title=kick1347011477']
...
- reboot to apply changes
When the machine reboots, it is starting the previous system and not
the installation process.
The koan command uses grubby and fedora17 now uses grub2 as default.
Looking at: /usr/lib/python2.7/site-packages/koan/app.py:
1074
1075 # Set paths for Ubuntu/Debian
1076 # TODO: Add support for other distros when they
ship grub2
1077 if make in ['ubuntu', 'debian']:
1078 grub_file = "/etc/grub.d/42_koan"
1079 grub_default_file = "/etc/default/grub"
1080 cmd = ["update-grub"]
1081 default_cmd = ['sed', '-i',
's/^GRUB_DEFAULT\=.*$/GRUB_DEFAULT="%s"/g' % name, grub_default_file]
Is it going to be supported fedora with grub2 for the next version
of koan?
Meanwhile i have changed manually grub2 like the script for
debian/ubuntu.
Thanks in advance.
Regards.
Attachments:
- smime.p7s
(application/pkcs7-signature — 2.3 KB)