Skip to content

Commit

Permalink
Add todo list
Browse files Browse the repository at this point in the history
  • Loading branch information
bensallen committed Aug 9, 2019
1 parent f2292a9 commit eaea78f
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@

- Fix double call to setIP

Configuring Network: "net0"
cmd: ifconfig bridge1 192.168.99.1 netmask 0xffffff00
cmd: ifconfig bridge1 192.168.99.1 netmask 0xffffff00

- Make relative paths be relative to the config file.
- Make relative paths in a VM config relative to the run_dir
- Add dependency graph ordering
- Debug logging
- Remove all fmt.Printf and use log or similar
- Add cmd stdout/stderr to debug logging
- Check write privs on run_dir, pid, and tty in Validate()
- Check write privs on hdd, read privs on cdrom
- Change permissions on tap and tty, then drop privs to run hyperkit
- Generate HDD if it doesn't already exist
- Generate UUID if not specified, store in run dir
- Generate MAC for tap interfaces if not specified, store in run dir
- Check that kernel and vmlinux exist in Up() of boot.kexec
- Check status of a VM before starting in Up()
- If one of the tap interfaces doesn't come up, still add the ones that do come up to the bridge
- Add CI, CircleCI, clean code, etc.

## Down

## Destroy

## Status

## SSH

## Console

- Test and consider integrating https://github.com/ishuah/bifrost/, otherwise just exec screen

## Host Config Automation

- Support for adding/removing routes on the host
- Move pf rules to a new host sections of config
- Support for adding/removing pf rules on the host
- Add sysctl enable forwarding

## Completed

- Add arg to each relevant command to work on specific VM
- Default find hkmgr.toml in current path if not specified
- Change addm/deletem of bridge members when working with a single VM to only addm, so we don't superfluously deletem members of VMs not being considered.
- Check if the config file exists
- Check UID == 0 if using vmnet

0 comments on commit eaea78f

Please sign in to comment.