I had a script that when I run as my user – it could find all commands. This was in a Fedora environment. The solution was to wrap it in shell like this [jon2allen@jons-bad-ass-fedora-server-37 python]$ cat run_news.sh #!/bin/bash source /home/jon2allen/.bashrc python3 /home/jon2allen/python/news1_test.py sourcing the .bashrc The command has several subprocess shell. before I sourced .bashrc – yt-dlp could not […]
python subprocess not finding command in cron.
Creating a new NAT network in virt-manager
I created a new network – called virbr1 <network connections=”1″> <name>virbr1</name> <uuid>a4ca0fc9-06e7-4ad6-8fad-e8b1865a6877</uuid> <forward mode=”nat”> <nat> <port start=”1024″ end=”65535″/> </nat> </forward> <bridge name=”virbr1″ stp=”on” delay=”0″/> <mac address=”52:54:00:b7:af:d0″/> <domain name=”virbr1″/> <ip address=”192.168.100.1″ netmask=”255.255.255.0″> <dhcp> <range start=”192.168.100.128″ end=”192.168.100.254″/> </dhcp> </ip> </network>allow virbr0<br />allow br0<br />allow virbr1 Note: in order to add a network with virt-manager gui one must run as root. When I connected a VM to this […]