This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from decouple import config | |
import teslapy | |
with teslapy.Tesla(config('EMAIL')) as tesla: | |
if not tesla.authorized: | |
tesla.refresh_token(refresh_token=config('TOKEN')) | |
tessie = tesla.vehicle_list()[0] | |
tessie.sync_wake_up() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ./mnt | |
mount /dev/pve/root ./mnt | |
cd mnt | |
mount -t proc proc proc/ | |
mount -t sysfs sys sys/ | |
mount -o bind /dev dev/ | |
cd .. | |
chroot ./mnt ./bin/bash | |
pmxcfs | |
/bin/nano /etc/pve/nodes/{node name}/qemu-server/100.conf |