microvm: persist root bash history file

This commit is contained in:
Sandro - 2022-12-18 22:17:51 +01:00
parent bc49e75fc4
commit 8caf765d3a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 3 additions and 0 deletions

View File

@ -178,5 +178,8 @@ in
ssh root@${serverFQDN} -- $@
'';
};
# store root users files persistent, especially .bash_history
users.users."root".home = "/home/root";
};
}