mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-04-26 09:37:20 +00:00
Fix alpine template
On a Debian sid system with lxc 5.0.3 and the latest snapshot of lxc-templates, attempting to create an alpine container fails with the error "mknod: dev/console: File exists". This had been reported a while back in Debian bug #998095 and partially addressed in #46. I performed some testing of the resulting alpine container, and things appear to be working correctly. Signed-off-by: Mathias Gibbens <gibmat@debian.org>
This commit is contained in:
parent
74a6743241
commit
9c720dd77b
@ -294,7 +294,6 @@ make_dev_nodes() {
|
||||
|
||||
mknod -m 666 dev/tty c 5 0
|
||||
chown 0:5 dev/tty # root:tty
|
||||
mknod -m 620 dev/console c 5 1
|
||||
mknod -m 666 dev/ptmx c 5 2
|
||||
chown 0:5 dev/ptmx # root:tty
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user