blob: eaa0fcc42040f190a10914f25c1185925962e77c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0
package main
import (
"go.wit.com/log"
)
func doDroplet() (string, error) {
log.Info("apt clean")
log.Info("rm -rf /var/lib/apt/lists/*")
log.Info("rm -rf /var/log/journal/*")
log.Info("fstrim -a -v")
log.Info("poweroff")
log.Info("qemu-img convert -p -O qcow2 sid8gb.lab.wit.org.qcow2 new.qcow2")
return "todo: make this", nil
}
|