mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-12-31 21:56:41 +01:00
🐛 fix(vm): iot mount finally works
Signed-off-by: dyn <oss+dyn@xtrm.me>
This commit is contained in:
@ -29,12 +29,14 @@
|
||||
|
||||
rm -rf /home/user/iot /root/iot
|
||||
|
||||
# for gui logins
|
||||
mkdir /home/user/iot -p
|
||||
cp -r /iot/p* /iot/bonus /home/user/iot/
|
||||
chown -R user /home/user/iot
|
||||
|
||||
# for ssh logins
|
||||
mkdir /root/iot -p
|
||||
cp -r /iot/p* /iot/bonus /rot/iot/
|
||||
cp -r /iot/p* /iot/bonus /root/iot/
|
||||
'';
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
@ -42,7 +44,7 @@
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
RemainAfterExit = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user