Bug #4153
Context template FILE_DS overwrittent by 'init scripts'
Status: | Closed | Start date: | 11/13/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Sunstone | |||
Target version: | - | |||
Resolution: | duplicate | Pull request: | ||
Affected Versions: | OpenNebula 4.14 |
Description
How to reproduce:
1. upload two files to the files datastore a.sh and b.sh
2. in the VM template -> Update -> Context -> Files select both files for inclusion.
3. in the init scripts list them: 'a.sh b.sh'
4. then Update the template
5. instantiate VM. it will fail with the following error:
[TemplateInstantiate] Error allocating a new virtual machine. Error parsing: root-password.sh centos-net-dhcp.sh. syntax error, unexpected RSTRING, expecting VARIABLE at line 1, columns 1:36
if you go back to the VM template -> files, FILE_DS field is overwritten with 'Init scripts' field so in FILE_DS instead of
$FILE[IMAGE_ID=15] $FILE[IMAGE_ID=16]
there is
a.sh b.sh
Related issues
History
#1 Updated by Rolandas Naujikas over 5 years ago
Duplicate of http://dev.opennebula.org/issues/4049 and it is already solved in future version.
#2 Updated by Javi Fontan over 5 years ago
- Duplicates Bug #4049: Template editing wizard overwrites FILES_DS with content of INIT_SCRIPTS added
#3 Updated by Javi Fontan over 5 years ago
- Status changed from Pending to Closed
- Resolution set to duplicate