Bug 2210250 - commented lines are removed after saving cloud-init userdata scripts
Summary: commented lines are removed after saving cloud-init userdata scripts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.13.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Tal Nisan
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-26 09:30 UTC by nijin ashok
Modified: 2023-07-03 13:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-03 13:24:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-29133 0 None None None 2023-05-26 09:31:16 UTC

Description nijin ashok 2023-05-26 09:30:33 UTC
Description of problem:

From the console, while creating VM using the template, customize virtual machine => scripts => Edit cloudinit => Click checkbox script => Add anything that starts with "#". After save and apply, check for the contents again, the commented lines will be removed.
 

Version-Release number of selected component (if applicable):

OpenShift Virtualization   4.13.0

How reproducible:

100%

Steps to Reproduce:

Please refer above.


Actual results:

commented lines are removed after saving cloud-init user data scripts

Expected results:

It shouldn't be removed.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.