Problem with configuration files
Closed this issue · 1 comments
I'm using a self compiled VM image of Tessel2 from https://github.com/tessel/openwrt-tessel
I encountered a problem with the files generated right before calling poweroff
(/etc/dropbear/authorized_keys
and /etc/config/firewall
). They does not seem to be properly written to the virtual hard drive: they can be accessed (by the command cat
for example) before the poweroff
but are gone once the VM has rebooted. It is probably a HD sync problem either from openWRT or from VirtualBox (The downloaded image does not have this problem)
I found a workaround : add sleep 3
before calling poweroff
.
For information, I use VirtualBox 4.3.26 on a Fedora 21
The issue comes from the squashfs filesystem : I tryed with 2 images compiled with the same sources but using a different file system (openwrt-x86-generic-combined-ext4.vdi
and openwrt-x86-generic-combined-squashfs.vdi
) and only the squashfs
version reproduces the problem.