2014-05-28 17:44:00 |
Simon Monette |
description |
When trying to edit a ks profile with cobbler on the fuel server only the first argument of the --kopts parameter is taken,
Example:
#Current setting
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://10.20.0.2:8000/api'}
#Edit profile
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "url=http://10.20.0.2:8000/api biosdevname=0 console=ttyS0,115200"
# Profile afterward:
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://10.20.0.2:8000/api'}
If I invert the order of the parameters, again only the first argument will be taken,
Exemple:
#Edit profile
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "console=ttyS0,115200 url=http://10.20.0.2:8000/api biosdevname=0"
# Profile afterward:
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'console': 'ttyS0,115200'}
I searched the cobbler documentation and the syntax did not appear to have change since the last release.
These commands worked with Fuel 4.1.
Thank you. |
When trying to edit a ks profile with cobbler on fuel 5.0 only the first argument of the --kopts parameter is taken,
Example:
#Current setting
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://10.20.0.2:8000/api'}
#Edit profile
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "url=http://10.20.0.2:8000/api biosdevname=0 console=ttyS0,115200"
# Profile afterward:
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://10.20.0.2:8000/api'}
If I invert the order of the parameters, again only the first argument will be taken,
Exemple:
#Edit profile
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "console=ttyS0,115200 url=http://10.20.0.2:8000/api biosdevname=0"
# Profile afterward:
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'console': 'ttyS0,115200'}
I searched the cobbler documentation and the syntax did not appear to have change since the last release.
These commands worked with Fuel 4.1.
Thank you. |
|