Commit Graph

59 Commits

Author SHA1 Message Date
msm-code
ba80fba648
Add --network switch to select a networking model (#22) 2020-04-06 09:12:46 +00:00
msm-code
e588479701
Add --cli switch that disables the GUI window. (#20) 2020-04-05 14:47:10 +00:00
msm-code
a583335865
Allow VMs with hostname other than default (#19)
The VM runner created by nix is called `./run-<hostname>-vm`.
So far, the code hardcoded it as `./result/bin/run-nixos-vm`, but
for the users that want to change VM hostname it may be problematic.
2020-04-05 13:30:48 +00:00
msm-code
c0801541b3
Fix random panics during autoballonning. (#17)
There is a race condition, when good behaving VMs will temporarily
truncate .memory_used to 0 bytes (update is not atomic).

Also, as a matter of principle, VMs should not crash the host,
ever.

Co-authored-by: msm <msm@cert.pl>
2020-03-30 21:53:02 +00:00
Mikhail Klementev
8b271a3e5e
Copy templates at start of tool not vm 2020-01-09 23:31:12 +00:00
Mikhail Klementev
2146397906
Avoid of changing current work directory 2020-01-09 23:13:48 +00:00
Mikhail Klementev
88718323f0
Add flag for build vm to appvm generate 2020-01-09 22:59:45 +00:00
Mikhail Klementev
2be0f82e4a
User host user id 2020-01-07 20:01:52 +00:00
Mikhail Klementev
dad147eb91
Do not exit on autoballoon errors, keep adjust memory for other VMs 2020-01-05 09:08:43 +00:00
Mikhail Klementev
355fb314a1
Implements stateless VMs 2020-01-03 22:56:27 +00:00
Mikhail Klementev
57e15fa0a0
Move shared directory creation out of vm generating function 2020-01-03 22:10:18 +00:00
Mikhail Klementev
13226a6a79
Implements command line flag to disable internet connection 2020-01-02 20:34:35 +00:00
Mikhail Klementev
0c35a66606
Implements passing file/arguments to application 2020-01-02 20:22:11 +00:00
Mikhail Klementev
af5691b0d4
Implements update repos wrapper 2020-01-02 15:47:42 +00:00
Mikhail Klementev
6c72b5de00
Implements wrapper for search for apps 2020-01-02 15:37:32 +00:00
Mikhail Klementev
04b2cf63ce
Generate appvm at start automatically if not exists 2020-01-02 15:29:20 +00:00
Mikhail Klementev
7e4aa33a0a
Set default mode to verbose 2020-01-02 15:20:22 +00:00
Mikhail Klementev
0a51db3bde
Do not fetch remote repository 2019-12-30 14:15:59 +00:00
Mikhail Klementev
99bd71b80c
Embed builtin description for apps 2019-12-30 14:09:44 +00:00
Mikhail Klementev
9c6b8a0122
Custom name for generate VMs 2019-12-30 13:58:18 +00:00
Mikhail Klementev
cc92ec3e23
Show local apps as available 2019-12-30 13:52:41 +00:00
Mikhail Klementev
6ebc562599
Save app nix description to config directory 2019-12-30 13:41:33 +00:00
Mikhail Klementev
f18d55bd27
New command: automatic generate app description 2019-12-30 10:47:47 +00:00
Vladimir Serov
197a78f595
[fix] rename miss 2019-12-30 00:24:01 +03:00
Vladimir Serov
555768d03b
Merge branch 'master' of github.com:jollheef/appvm 2019-12-30 00:23:37 +03:00
Vladimir Serov
4104d91eab
[feat] local config evaluation; getting repos while using remote configs. 2019-12-30 00:21:42 +03:00
Mikhail Klementev
718ab3a164
Remove outdated comment 2019-12-29 19:24:00 +00:00
Mikhail Klementev
29e447435f
Refactor 2019-12-29 19:03:17 +00:00
Mikhail Klementev
6505544535
We're not store base/local configuration in nix/* anymore 2019-12-29 17:59:09 +00:00
Mikhail Klementev
24927bc787
Embed base nix configuration to binary 2019-12-29 17:41:44 +00:00
Mikhail Klementev
e5ccd6d913
Move out xml template 2019-12-29 16:31:22 +00:00
Vladimir Serov
0823b2f028
[fix] starting virtmanager with correct hypervisor uri 2019-12-29 19:08:36 +03:00
Vladimir Serov
4ce9b6ee86
[feat] using remote configs for appvm creation 2019-12-29 18:41:26 +03:00
Vladimir Serov
ba569d4aab
[feat] proper config fetching (not yet used) 2019-12-29 18:27:37 +03:00
Mikhail Klementev
55a825a7c0
Generate X monitor section is no more required 2019-12-29 14:36:36 +00:00
Mikhail Klementev
6a54439180
Use go regex
Resolves #9
2019-12-29 07:24:59 +00:00
Mikhail Klementev
959e6e6596
Create appvm directory at start 2019-12-29 07:06:59 +00:00
Mikhail Klementev
bb5a352215
Refactor prefix search 2019-05-12 00:17:21 +00:00
Mikhail Klementev
660c8a5dba
Improve error handling 2019-05-12 00:17:20 +00:00
Mikhail Klementev
20b9b42e03 Move fake qcow2 image to appvm directory, fixes #10 2019-03-07 11:57:06 +00:00
Mikhail Klementev
fd224db22e
Move upstream to code.dumpstack.io 2019-02-03 22:22:47 +00:00
Mikhail Klementev
ff4e7f8398
Fix typos 2018-08-10 07:16:58 +00:00
Mikhail Klementev
9218a10641
Implements verbose flag 2018-08-04 09:27:53 +00:00
Mikhail Klementev
326b9ce610 Add progress bar 2018-07-15 19:54:38 +00:00
Mikhail Klementev
36267ac5ea Connect to exists VM if already runned 2018-07-15 19:32:28 +00:00
Mikhail Klementev
5bb305a0ec Fix mistake with args 2018-07-15 19:27:34 +00:00
Mikhail Klementev
5f81e7ac3d Move out VM generation 2018-07-15 19:08:28 +00:00
Mikhail Klementev
cb343c4506 Move copy templates out 2018-07-15 19:06:16 +00:00
Mikhail Klementev
02f4eab277 Set memory params of memory autoballoning through arguments 2018-07-13 21:31:42 +00:00
Mikhail Klementev
2dae4eb5a3 Implements automatic ballooning 2018-07-12 20:00:57 +00:00