fix: keel network confirm accepts the console of an LXC container #51
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel!51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/lxc-console-confirm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
keel network confirmtreats/dev/lxc/ttyNand/dev/lxc/consoleas a console. In an LXC container (plain LXC and Proxmox)/dev/tty1is a link tolxc/tty1, so the first boot on the console and alxc-consoleorpct consolelogin hold/dev/lxc/tty1, which keel refused as "neither an SSH session nor a console".confirmed from the console /dev/lxc/tty1./dev/lxcare refused.Needed by Keel-Linux/confconsole (first boot role screens), which recommends
keel (>= 0.11.2).Test plan
tests/test_network_session.py:/dev/lxc/tty1,/dev/lxc/tty4,/dev/lxc/consoleare a console;/dev/lxc/pts/1,/dev/lxc/ttyX,/dev/lxctty1are not