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 |
|
Kayou
|
37bac48c8a
|
Fix swapoff before reset
|
2021-01-29 22:06:54 +01:00 |
|
Kay0u
|
de2170f49e
|
swapoff before reset
|
2021-01-28 01:24:53 +01:00 |
|
Kay0u
|
1a8ca9d37a
|
Remove swap before restoring a snapshot
|
2021-01-15 14:50:16 +01:00 |
|
Alexandre Aubin
|
6f89e9f6a6
|
Redirect lxc launch output to complete.log
|
2021-01-14 15:08:20 +01:00 |
|
Alexandre Aubin
|
157f764079
|
Add --force during LXC_RESET because some containers don't want to be stopped for some reasons...
|
2021-01-12 02:27:38 +01:00 |
|
Alexandre Aubin
|
1ce755346e
|
semantics: LXC_START -> LXC_EXEC
|
2021-01-12 02:23:57 +01:00 |
|
Alexandre Aubin
|
8de208ac76
|
Misc fixes for cleanup/cancel handling
|
2021-01-04 20:52:02 +01:00 |
|
Kay0u
|
433c302672
|
fix skipped_uris value
|
2021-01-04 19:49:43 +01:00 |
|
Alexandre Aubin
|
428e082ab5
|
Also filter the retrieving image stuff during the lxc launch because that creates a mess
|
2021-01-03 21:07:03 +01:00 |
|
Alexandre Aubin
|
9879774322
|
Adding some timeout because idk lxc command got stuck forever...
|
2020-12-29 17:01:06 +01:00 |
|
Alexandre Aubin
|
0bb042552f
|
Better handling of config when launching a new LXC
|
2020-12-29 17:00:37 +01:00 |
|
Alexandre Aubin
|
f4f95d224c
|
Misc fixes + add limit on memory, CPU
|
2020-12-29 00:09:31 +01:00 |
|
Alexandre Aubin
|
898595fb74
|
Misc
|
2020-12-27 17:00:26 +01:00 |
|