It seems `/home/vyos` directory is recreated after reboot
```
vyos@r14:~$ ls -la
total 32
drwxr-xr-x 3 vyos users 4096 Jul 17 14:00 .
drwxr-xr-x 1 root root 4096 Jul 17 10:15 ..
-rw------- 1 vyos users 255 Jul 17 14:01 .bash_history
-rw-r--r-- 1 vyos users 220 Apr 24 00:23 .bash_logout
-rw-r--r-- 1 vyos users 4072 Jan 11 2021 .bashrc
-rw------- 1 vyos vyattacfg 20 Jul 17 13:01 .lesshst
-rw-r--r-- 1 vyos users 675 Jan 11 2021 .profile
drwxr-xr-x 2 vyos users 4096 Jul 17 10:15 .ssh
-rw-r--r-- 1 vyos vyattacfg 0 Jul 17 13:01 .sudo_as_admin_successful
vyos@r14:~$
```
It is caused after reboot we don't have the file **.bash_history**
```
vyos@r14:~$ ls -la
total 24
drwxr-xr-x 3 vyos users 4096 Jul 17 14:02 .
drwxr-xr-x 1 root root 4096 Jul 17 14:02 ..
-rw-r--r-- 1 vyos users 220 Apr 24 00:23 .bash_logout
-rw-r--r-- 1 vyos users 4072 Jan 11 2021 .bashrc
-rw-r--r-- 1 vyos users 675 Jan 11 2021 .profile
drwxr-xr-x 2 vyos users 4096 Jul 17 14:02 .ssh
vyos@r14:~$
```
Not really the bug but before we have this file between reboots
**Update**, it deletes all files, not only history
```
vyos@r14:~$ ls -l
total 0
-rw-r--r-- 1 root root 0 Jul 19 19:18 temp01
-rw-r--r-- 1 root root 0 Jul 19 19:18 temp02
-rw-r--r-- 1 root root 0 Jul 19 19:18 temp03
vyos@r14:~$
vyos@r14:~$ reboot now
Warning: there are unsaved configuration changes!
Run 'save' command if you do not want to lose those changes after reboot/shutdown.
Broadcast message from root@r14 on pts/1 (Wed 2023-07-19 19:19:07 EEST):
The system will reboot now!
Connection to 192.168.122.14 closed by remote host.
Connection to 192.168.122.14 closed.
sever@sever:~$
```
after reboot:
```
vyos@r14:~$ ls -l
total 0
vyos@r14:~$
```