
23 Oct
2018
23 Oct
'18
6:54 p.m.
In addition of double quote, there is an extra space between : and / So, the correct runcmd should be: sed -i "/^datasource_list:/d" /etc/cloud/cloud.cfg; echo ''datasource_list:["NoCloud", "ConfigDrive"]'' >> /etc/cloud/cloud.cfg Le 23/10/2018 à 18:43, Nathanaël Blanchet a écrit :
- 'sed -i ' '/^datasource_list: /d' ' /etc/cloud/cloud.cfg; echo ' 'datasource_list: ["NoCloud", "ConfigDrive"]' ' >> /etc/cloud/cloud.cfg'
-- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr