Commit graph

202 commits

Author SHA1 Message Date
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
Mikhail Klementev aaede60c4d
Switch to NixOS 20.03 2020-04-01 07:39:23 +00:00
Mikhail Klementev 6e26754cec
Do not specify session explicitly 2020-04-01 07:39:04 +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 63cd3fc79d
GitHub Actions: Use latest stable nixpkgs channel 2020-02-21 00:29:49 +00:00
Mikhail Klementev 00f705d757
Update screenshot 2020-02-02 02:55:37 +00:00
Mikhail Klementev 218e81a6ac
virt-viewer: use title as subtitle 2020-02-02 02:13:57 +00:00
Mikhail Klementev 7cad1efce8
Move installation guide to docs 2020-02-02 01:43:35 +00:00
Mikhail Klementev cc5262b10f
Execute GitHub action on pull requests too 2020-01-31 08:03:05 +00:00
Mikhail Klementev e02edbacf4
Use default machine 2020-01-28 00:12:48 +00:00
Mikhail Klementev 2bc5247ac1
Note about the group name
Resolves #14
2020-01-26 19:15:53 +00:00
Mikhail Klementev 545291b9cf
Suggest to use latest stable channel 2020-01-26 10:23:33 +00:00
Mikhail Klementev 9b828ff575
Update installation guide 2020-01-26 01:39:36 +00:00
Mikhail Klementev dc636c3919
Revert "virt-manager: disable subtitle"
This reverts commit d07d51c7ec.
2020-01-22 02:33:02 +00:00
Mikhail Klementev d07d51c7ec
virt-manager: disable subtitle 2020-01-22 02:29:54 +00:00
Mikhail Klementev 19b92aec1b
virt-viewer: use name of appvm applications as a title 2020-01-22 02:21:19 +00:00
Mikhail Klementev 680aff06f7
Build appvm from ../default.nix 2020-01-22 01:18:25 +00:00
Mikhail Klementev 7b76368699
Cleanup 2020-01-22 01:13:26 +00:00
Mikhail Klementev 5a2ce12c2f
Build from the source directory 2020-01-22 01:13:05 +00:00
Mikhail Klementev f8bfca0466
GitHub Actions: Do not generate ISO 2020-01-22 00:59:46 +00:00
Mikhail Klementev 01a0d206db
virt-viewer: do not grab keyboard/mouse 2020-01-22 00:50:54 +00:00
Mikhail Klementev 44cb4697ec
Remove virt-viewer menu bar 2020-01-22 00:33:20 +00:00
Mikhail Klementev 219c48b976
Add dashboard access token 2020-01-20 09:22:40 +00:00
Mikhail Klementev c68f3bf10d
Donations 2020-01-16 23:50:39 +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 1fbbdee76a
Handle case when there's no actions in .desktop file 2020-01-09 23:07:37 +00:00
Mikhail Klementev 1f4214199e
Build appvm iso with the same source code not master 2020-01-09 23:02:00 +00:00
Mikhail Klementev 4e7c6e9895
Build ISO only on master 2020-01-09 23:01:03 +00:00
Mikhail Klementev 88718323f0
Add flag for build vm to appvm generate 2020-01-09 22:59:45 +00:00
Mikhail Klementev 4ce1c5643f
Ignore iso files 2020-01-08 22:25:48 +00:00
Mikhail Klementev 9c9a71c2c8
Set default password for user 2020-01-08 22:24:11 +00:00
Mikhail Klementev fca2f89046
Support remove run with nix run 2020-01-08 20:52:29 +00:00
Mikhail Klementev bd63fcd48f
Add dot-desktop-fuse service 2020-01-08 11:37:45 +00:00
Mikhail Klementev f15d0fb07a
Use master instead of latest tag 2020-01-08 11:20:26 +00:00
Mikhail Klementev a264cb2ced
Add missed deps 2020-01-08 11:16:14 +00:00
Mikhail Klementev 33cdae7a47
go modules init for dot-desktop-fuse 2020-01-08 01:44:41 +00:00
Mikhail Klementev 41f25418e8
Initial implementation for .desktop fuse fs 2020-01-07 21:22:44 +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 806448df17
Memory autoballoon (host side) 2020-01-05 09:02:03 +00:00
Mikhail Klementev 573be66059
Do no enable anything in default local.nix 2020-01-05 08:55:36 +00:00
Mikhail Klementev 7df36ae8fc
Add channel snapshot to image itself 2020-01-05 08:49:48 +00:00
Mikhail Klementev 4066e347ef
GitHub Actions: iso artifact 2020-01-05 07:02:34 +00:00
Mikhail Klementev de77abd3ee
slim -> lightdm 2020-01-05 06:58:46 +00:00
Mikhail Klementev cead5bab74
GitHub Actions: Live ISO 2020-01-05 06:56:47 +00:00
Mikhail Klementev 6536200669
Use lightdm (slim is removed from NixOS) 2020-01-05 06:43:55 +00:00
Mikhail Klementev 1095218222
GitHub Actions: Nix environment 2020-01-05 06:20:51 +00:00
Mikhail Klementev a4138a4b44
Add Nix build job 2020-01-05 06:13:56 +00:00
Mikhail Klementev 287c6d6043
Update .gitignore 2020-01-05 06:12:18 +00:00