fix(host-deployer): do not clean spool dir on save image (#21399)

This commit is contained in:
wanyaoqi
2024-10-12 10:08:56 +08:00
committed by GitHub
parent d82c7bc5a5
commit a1bf4c7b6c
+2 -2
View File
@@ -606,10 +606,10 @@ func (l *sLinuxRootFs) PrepareFsForTemplate(rootFs IDiskPartition) error {
}
}
for _, dir := range []string{
"/var/spool",
// "/var/spool",
"/var/run",
"/run",
"/usr/local/var/spool",
// "/usr/local/var/spool",
"/usr/local/var/run",
"/etc/openvswitch",
} {