lxc-webpanel / LXC-Web-Panel

LXC Web Panel repository
http://lxc-webpanel.github.io/
MIT License
574 stars 206 forks source link

Fixed directories containing a dot not getting accepted as rootfs directory #75

Closed mohlerm closed 10 years ago

mohlerm commented 10 years ago

If your rootfs directory contains a dot somewhere you will not be able to edit your container settings. This is an issue particularly when using unprivileged container since they use $HOME/.local/share/lxc as default storage location. This fix simply modifies the regex to allow dots.