---
date: 2026-03-04
type: reference
tags: [snippet, proxmox]
---

# Proxmox console quirks

- Heredoc (<<EOF) does NOT work in Proxmox web console
- \n in python/printf strings may paste as literal \n
- Use: python3 -c with json.load/dump for file edits (reliable)
- sed s/foo/bar\nbaz/ DOES add real newlines in replacement
- For Proxmox API file edits: must SSH or use node Shell console

<!-- AUTO-SYNC FROM MEMORY.MD - DO NOT EDIT BELOW -->
## Proxmox console quirks
- Heredoc (<<EOF) does NOT work in Proxmox web console
- 
 in python/printf strings may paste as literal 

- Use: python3 -c with json.load/dump for file edits (reliable)
- sed s/foo/bar
baz/ DOES add real newlines in replacement
- For Proxmox API file edits: must SSH or use node Shell console
<!-- END AUTO-SYNC -->
