lxc config device add surflyc root disk pool=default path=/ size=15GB
search
Monday, December 23, 2019
Increase storage of a lxd container
By default lxd stopped to assign root (disk) device to a container. To modify storage volume of a container add a device like this:
Restart the container to apply changes.
Friday, November 22, 2019
Lxd on Fedora 31
Fedora 31 has started to use cgroups v2 by default. According to Common F31 bugs it doesn't play nice with Docker, lxd and others. To make fedora switch back to the old cgroups:
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
Friday, October 4, 2019
wifi utils
List used wifi frequences
List available channels
List wifi networks
sudo iwlist wlp1s0 scan | grep Frequency | sort | uniq -c | sort -n
iwlist channel
nmcli d wifi
Wednesday, September 25, 2019
Fix isort in vscode for python2
Go to the vscode Python extension folder:
Install latest version that is known to work with python 2:
cd ~/.vscode/extensions/ms-python.python-2019.9.34911
pip2 install -t ./pythonFiles/lib/python --upgrade isort==4.3.17
Subscribe to:
Posts (Atom)