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 the fuel server only the first argument of the --kopts parameter is taken,
Example:
#Current setting 10.20.0. 2:8000/ api'}
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://
#Edit profile 10.20.0. 2:8000/ api biosdevname=0 console= ttyS0,115200"
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "url=http://
# Profile afterward: 10.20.0. 2:8000/ api'}
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://
If I invert the order of the parameters, again only the first argument will be taken,
Exemple:
#Edit profile ttyS0,115200 url=http:// 10.20.0. 2:8000/ api biosdevname=0"
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "console=
# 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.