Tagada
|
97f9693d48
|
Naive attempt to use eatmydata
|
2024-03-31 20:57:49 +02:00 |
|
|
fc79adbed4
|
Support different syntaxes for lxc incus snapshot create / restore
|
2024-03-15 16:00:13 +01:00 |
|
|
0998271a98
|
Allow the use of incus instead of LXD. In the future, we could remove LXD support, making the README way shorter (no snap, etc)
|
2024-03-10 00:47:09 +01:00 |
|
Alexandre Aubin
|
8e267559a7
|
Restructure some stuff to improve UX, ideally don't want to wait for the apt deps to install before being able to know which yunohost version is running and package linter ...
|
2024-01-10 21:41:48 +01:00 |
|
Alexandre Aubin
|
94abddf58d
|
yolo: attempt to preinstall apt dependencies in the initial lxc snapshot
|
2024-01-10 21:13:08 +01:00 |
|
Alexandre Aubin
|
03cdffca88
|
Aaannd typo
|
2023-02-13 20:51:33 +01:00 |
|
Alexandre Aubin
|
fc08a7e515
|
More sanity checks
|
2023-02-13 20:49:41 +01:00 |
|
Alexandre Aubin
|
19b401cd23
|
Add sanity checks the the LXC exists + initial snapshot exist instead of failing miserably later
|
2023-02-13 20:45:26 +01:00 |
|
Alexandre Aubin
|
90147c25c9
|
Try to add stupid sleep to mitigate issue where 'lxc exec' is stuck for no reason -_-
|
2023-02-10 18:03:51 +01:00 |
|
Alexandre Aubin
|
8144a1fac0
|
Actually ... ci-apps is still using lxd 4.10 which has empty status when the LXC is stopped
|
2023-02-10 04:22:59 +01:00 |
|
Alexandre Aubin
|
0e62de7b6b
|
Don't complain so much about LXC failing to stop until we are at retry=3
|
2023-02-10 04:12:34 +01:00 |
|
Alexandre Aubin
|
2ae3626050
|
Try to fix the witness shit blocking everything for some reason
|
2023-02-08 20:51:52 +01:00 |
|
Alexandre Aubin
|
38549cd336
|
More boring tricks about commands getting stuck forever..
|
2023-02-08 19:51:32 +01:00 |
|
Alexandre Aubin
|
777cf44727
|
Add moar timeout because ffs a simple 'test -e' is getting stuck forever again
|
2023-02-08 17:32:40 +01:00 |
|
Alexandre Aubin
|
caafd56fed
|
Moar damn commands getting stuck forever for no reason...
|
2023-02-07 12:50:04 +01:00 |
|
Alexandre Aubin
|
865bb6223b
|
Apparently that stupid 'In use' bug is a glitch and can be temporarily solved by restarting the LXD daemon :|
|
2023-02-07 02:27:14 +01:00 |
|
Alexandre Aubin
|
6024170dd5
|
--debug is wonderfully useless
|
2023-02-07 02:23:26 +01:00 |
|
Alexandre Aubin
|
964d95966c
|
Try to add some --debug during lxc restore snapshot to understand what the fucking hell is 'in use' T_T
|
2023-02-07 02:12:25 +01:00 |
|
Alexandre Aubin
|
3cd3e0abd0
|
Random sleep might help idk -_-
|
2023-02-07 02:03:44 +01:00 |
|
Alexandre Aubin
|
63527b3032
|
zzz typoz
|
2023-02-07 01:39:56 +01:00 |
|
Alexandre Aubin
|
5db177ccc8
|
Fix retry mechanism ... add another retry mechanism for LXC_STOP ...
|
2023-02-07 01:38:00 +01:00 |
|
Alexandre Aubin
|
252a3abea4
|
Moar boring debug stuff -_-²
|
2023-02-07 01:28:00 +01:00 |
|
Alexandre Aubin
|
6a8699873c
|
Moar boring debug stuff -_-
|
2023-02-07 01:25:10 +01:00 |
|
Alexandre Aubin
|
17f9308c25
|
Typo é_è
|
2023-02-07 01:14:39 +01:00 |
|
Alexandre Aubin
|
0b871d6bfa
|
More boring stuff to try to hunt/fix the 'Error: in use' nightmare -_-
|
2023-02-07 01:09:52 +01:00 |
|
Alexandre Aubin
|
a315eacfa7
|
Typos
|
2023-02-07 00:03:30 +01:00 |
|
Alexandre Aubin
|
5094fbee72
|
Typo :|
|
2023-02-06 23:59:36 +01:00 |
|
Alexandre Aubin
|
ba3a19cfcd
|
Add a damn retry system when failing to stop LXC or restore snapshot ...
|
2023-02-06 23:58:12 +01:00 |
|
Alexandre Aubin
|
af359e9dfe
|
Merge pull request #137 from YunoHost/moar-refactoring
Moar refactoring
|
2023-02-06 18:33:24 +01:00 |
|
Alexandre Aubin
|
9fcc476cf3
|
Fix issue with curl hanging forever
|
2023-02-03 02:01:20 +01:00 |
|
Alexandre Aubin
|
67a628ad6e
|
Force the use of most recent base LXC T.T
|
2023-02-03 01:42:00 +01:00 |
|
Alexandre Aubin
|
25dadd002c
|
Fixes after tests on the battlefield
|
2023-01-28 04:13:46 +01:00 |
|
Alexandre Aubin
|
a65f16dd08
|
Moar refactoring
|
2023-01-27 22:47:53 +01:00 |
|
|
98f806b9ec
|
Use text instead of integers for stop_timer argument
|
2023-01-20 13:46:36 +01:00 |
|
yalh76
|
343c424db1
|
Retrieve only one IP address
|
2022-09-16 00:12:11 +02:00 |
|
ericgaspar
|
9eb0643d65
|
Update lxc.sh
|
2022-08-13 12:26:44 +02:00 |
|
Kay0u
|
236546ca51
|
remove swap only if the container exists
|
2022-08-10 18:51:37 +02:00 |
|
Kay0u
|
98c00ed402
|
[fix] get the current storage of a container instead of using "default"
|
2022-07-05 14:22:29 +02:00 |
|
yalh76
|
668e146cd3
|
Force swap removal
|
2022-04-20 20:31:34 +02:00 |
|
Kay0u
|
e949d99c16
|
use LXC_STOP where we need to stop a container
|
2021-12-12 20:20:24 +01:00 |
|
Kay0u
|
ff0dcc2207
|
Force the output to be in lowercase
|
2021-12-12 20:06:41 +01:00 |
|
Alexandre Aubin
|
24aa67e1c5
|
lxc status changed from 'Running' to 'RUNNING' in lxc 4.20
|
2021-11-24 19:52:00 +01:00 |
|
Kay0u
|
03b82bf1c8
|
displays the location to help debug if there is a problem when launching the container
|
2021-10-13 16:51:03 +02:00 |
|
ericgaspar
|
bec7833e0b
|
Update lxc.sh
|
2021-10-06 23:12:38 +02:00 |
|
Kay0u
|
529fb591de
|
fix double quotes around lxc exec
|
2021-03-22 14:27:39 +01:00 |
|
Alexandre Aubin
|
d885ce2308
|
Misc fixes attempt
|
2021-03-17 19:17:09 +01:00 |
|
Alexandre Aubin
|
ed7be85005
|
Add a check that there isn't a shitload of warnings in the script outputs
|
2021-03-08 20:27:30 +01:00 |
|
Kay0u
|
8228370c84
|
fallback to local image
|
2021-02-17 16:17:36 +01:00 |
|
Kay0u
|
ab28b10f81
|
another fix for swapfiles
|
2021-02-04 14:24:29 +01:00 |
|
Alexandre Aubin
|
7a0abea251
|
Disable also swapfiles in /var/lib/lxd (in setups where lxd ain't installed using snap)
|
2021-02-03 01:31:57 +01:00 |
|