{"id":26522737,"url":"https://github.com/knightchaser/vnecro","last_synced_at":"2026-05-18T14:39:36.730Z","repository":{"id":282194368,"uuid":"944310790","full_name":"KnightChaser/vnecro","owner":"KnightChaser","description":"Become a digital necromancer of virtual machines in a declarative way!","archived":false,"fork":false,"pushed_at":"2025-03-14T08:30:55.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T05:03:49.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KnightChaser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T06:05:16.000Z","updated_at":"2025-03-14T08:30:59.000Z","dependencies_parsed_at":"2025-10-25T05:13:56.186Z","dependency_job_id":null,"html_url":"https://github.com/KnightChaser/vnecro","commit_stats":null,"previous_names":["knightchaser/vbnecro","knightchaser/vnecro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KnightChaser/vnecro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightChaser%2Fvnecro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightChaser%2Fvnecro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightChaser%2Fvnecro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightChaser%2Fvnecro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KnightChaser","download_url":"https://codeload.github.com/KnightChaser/vnecro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightChaser%2Fvnecro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33181540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-21T13:40:10.968Z","updated_at":"2026-05-18T14:39:36.702Z","avatar_url":"https://github.com/KnightChaser.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vnecro\n\u003e **This project is under development and not stable. It's currently under at idea realization phase.** \n\n`vnecro` is a simple tool for controlling virtual machines, especially Linux-based guests. It allows you to perform operations such as managing snapshots, starting, executing shell commands inside the guest, and shutting down the VMs.\n\n## Constraints\n\n- **Manual Setup:** Users must manually configure the machines on VirtualBox.\n- **Guest Additions:** The guest OS must have VirtualBox Guest Additions installed.\n- **Auto-Login:** For guest control commands to work reliably, auto-login must be enabled on the guest.\n- Also note that this project is currently support only Virtualbox.\n\n## Example Configuration File\n\nBelow is an example `config.yaml` file:\n\n```yaml\nvm_manager: \"virtualbox\"\n\nvms:\n  - alias: \"vm/vbnecro_ubuntu2204\"\n    vm_name: \"vbnecro_ubuntu2204\"\n    users:\n      - role: \"user\"\n        username: \"vbnecro\"\n        password: \"pass12##\"\n      - role: \"root\"\n        username: \"root\"\n        password: \"pass12##\"\n\njobs:\n  - vm_alias: \"vm/vbnecro_ubuntu2204\"\n    ensure_off: true\n    rollback_on_failure: \"Setup004\"\n    operations:\n      - type: \"RestoreSnapshot\"\n        params:\n          snapshot: \"Setup004\"\n      - type: \"StartVM\"\n      - type: \"ExecuteShellCommand\"\n        role: \"user\"\n        params:\n          command: \"whoami\"\n        store_as: \"real_username\"\n        print_output: false\n      - type: \"ExecuteShellCommand\"\n        role: \"root\"\n        params:\n          command: \"cat\"\n          args:\n            - \"/etc/passwd\"\n        store_as: \"passwd_contents\"\n        print_output: true\n      - type: \"Wait\"\n        params:\n          seconds: \"10\"\n      - type: \"Assert\"\n        params:\n          variable: \"passwd_contents\"\n          operator: \"includes\"\n          expected: \"root:\"\n      - type: \"ShutdownVM\"\n```\n\n## Usage\n\n1.  **Build the project:**\n    \n    ```bash\n    go build .\n    \n    ```\n    \n2.  **Run vbnecro with your configuration:**\n    \n    ```bash\n    ./vbnecro --config-path=./config.yaml\n    ```\n   \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightchaser%2Fvnecro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknightchaser%2Fvnecro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightchaser%2Fvnecro/lists"}