Forum Discussion
vscode ucs save edits
When using the vscode extension 'The F5 Extension' to view a local UCS file, I can search and analyze the objects with great ease.
However, I cannot save any edits. I keep getting a warning message stating:
Failed to save app.conf; Unable to write file /app.conf (Unknown(FileSystemError): Error: EROFS: read-only file system, open /app.conf)
I was hoping to use vscode to edit bigip_base.conf without unpacking, using vi, then repacking.
I even tried editing the file permissions prior to opening the UCS
> chmod 666 file.ucs
- Is there something I'm missing or miss-understand, ...or
- Is this not possible?
Apple Mac: Sonoma 14.5
Externsion: Last updated, 2024-04-17, 16:43:43
Thanks
- zamroni777Nacreous
EROFS, into which the ucs is extracted by the vscode ext, is read only file system so there is no way to make it read and write capable.
also, f5 github doc below mention the feature is config explorer.
i dont see ucs editing mentioned in the webpage.https://f5devcentral.github.io/vscode-f5/#/config_explorer?id=local-ucsqkview
Hi donmunyak,
Are you UCS encrypted with password or passphrases ? (K9420: Installing UCS files containing encrypted passwords or passphrases)
RegardsYou might try editing the bigip.conf file directly and then loading that once you have saved your edits. I believe the appropriate command would be the following.
load sys config
That command should have some output to your screen after the edits to show everything that has loaded. You need to be extremely careful when doing this because formatting could really mess things up when reloading the configuration.
- donmunyakNimbostratus
Thanks everyone...
What I have been able to do, and works fine on a BigIP, extract to a folder '/shared/tmp/extracted.'
Use ssh remote explorer, from vs-code, to remotely edit ./config/bigip.conf (etc.)
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com