-
Notifications
You must be signed in to change notification settings - Fork 14
/
strings.go
59 lines (47 loc) · 1.05 KB
/
strings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package shared
// Bravefile template
const BravefileTemplate = `image: example-image/v1.0
base:
image: alpine/3.16
packages:
manager: apk
system:
- curl
run:
- command: echo
args:
- hello world
copy:
- source: ./Bravefile
target: /root/
service:
name: example-container
ports:
- 8888:8888
resources:
ram: 2GB
cpu: 2
disk: 10GB
`
// REINIT ..
const REINIT = `
Bravetools home directory, settings, and images will be deleted.
You will need to run "brave init" to initialize a new Bravetools environment.
Do you want to continue?(Yes/no):
`
// REMOVELIN ..
const REMOVELIN = `
Looks like you're initialising an already configured Bravetools environment.
You can manually cleanup your Bravetools LXD configuration using LXD CLI:
1. lxc profile delete bravetools-$USER
2. lxc storage delete bravetools-$USER
3. lxc network delete bravetoolsbr0
`
// REMOVEMP ..
const REMOVEMP = `
Bravetools already initialised.
To delete Bravetools:
1. rm -r $HOME/.bravetools
2. multipass delete bravetools
3. multipass purge"
`