Abiola Ibrahim
f50a82f027
misc: improve password prompt message for network setup
...
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
2025-08-20 10:52:35 +01:00
4dacd64d49
cli: reset formatting at the end of question prompts ( #1324 )
...
* Properly reset formatting at the end of question prompts
Currently, the second prompt for the delete command uses a bold + red format mode using escape codes. However, this mode is not reset at the end and ends up leaking unto next lines on the terminal.
This change will make sure all `question` strings passed to the `Prompt` function will be closed properly by a reset escape sequence.
Includes a fmt change too.
* chore: fix code usage comment
---------
Co-authored-by: Abiola Ibrahim <git@abiosoft.com >
2025-05-21 07:45:44 +01:00
Abiola Ibrahim
2ffc18f6f2
chore: minor refactor
...
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
2024-08-06 17:47:05 +01:00
Abiola Ibrahim and GitHub
f36ff1e3e5
v0.6.0 refactor ( #848 )
...
* core: begin migration to ubuntu
* core: update cloud image link
* k3s: update version
* core: fix boot for ubuntu
* vm: add ability to set custom hostname
* core: checkpoint: remove qemu wrapper
* core: checkpoint: remove qemu wrapper
* cli: minor bug fix for terminal output
* cli: fix broken terminal output for deb download
* cli: improve terminal output for deb download
* vm: fix docker permission on initial create
* net: remove gvproxy, migrate to user-v2
* docker: fix host-gateway address
* vm: avoid re-installing packages
* k3s: fix broken coredns
* core: improve downloader
* vm: add binfmt for cross-platform containers
* containerd: fix for ubuntu
* containerd: fix broken working directory detection
* chore: remove obsolete env var
* chore: minor refactor for binfmt
* cli: fix ip address for colima list
* docker: add daemon support for proxy env vars
* vm: add more utilities
* ci: remove obsolete ubuntu layer
* ci: move to gh from hub
* core: use custom directory for Lima
* chore: minor factor, remove obsolete variable
* docker: workaround initial user permission issue
* chore: remove obsolete code
* vm: fix binfmt cache
* core: enforce Lima version requirement
* docker: workaround permission issue
* vm: enable inotify by default
* core: enable binfmt only on host arch
* docs: prepare for v0.6.0
* nix: update Go version in shell
* nix: update build
* build: add integration test script
* ci: remove aarch64, defer until proper m1 support
* build: fix colima path in integration test script
2023-11-12 11:28:30 +01:00
Abiola Ibrahim and GitHub
898867f914
daemon: ensure correct pkill is called ( #591 )
...
* daemon: ensure correct pkill is called
* vm: make deamon error non-fatal on stop
* ci: increase delay for aarch64 boot
* ci: fix format error
2023-01-22 13:35:15 +01:00
Abiola Ibrahim and GitHub
6c4889b73c
ci: fix lint errors ( #403 )
2022-08-19 07:33:35 +01:00
Abiola Ibrahim and GitHub
acb4cd0796
Add --layer flag for Ubuntu container layer ( #281 )
...
* core: add ubuntu layer
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* core: layer: preserve home dir
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* core: layer: preserve chroot exec dir
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* core: layer: combine chroot scripts into one
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* net: fix interface gateway
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* core: layer: more fixes
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* core: layer: refactor and rename
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: refactor logger
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* volume: revert default mount type to sshfs
* log: enable trace level log
* ci: add layer to integration test
2022-05-13 05:34:59 +01:00
Abiola Ibrahim and GitHub
c42a673589
multiple fixes pre 0.4.0 ( #251 )
...
* misc: general refactor
* docker: reduce deamon file error to warning
* core: breaking change! change folder structure
* dns: more fixes
* net: make vmnet optional
* net: limit vmnet to macOS
* net: fix flag check for non-macOS
* ci: fix go version
* ci: fix golang ci
* ci: fix lint error
* ci: increase delay for kubernetes integration test
* k8s: fix flannel route when slirp is enabled
* k3s: enable traefik
* ci: fix lint error
* k3s: fix intermitent kubeconfig issue
* misc: support config folder structure of v <0.4.0
* misc: fix regression, improve log messages
* net: replace launchagent with daemon library
* ci: fix lint error
* ci: change macos version for runner
* ci: attempt macos 12 github runner
* ci: revert macos version for github runner
* net: fix vmnet directory bug
* docs: update readme
* cli: add docker socket path to status
* net: improve vmnet process management
* chore: move embedded file
* checkpoint: config file support
* chore: use global cache directory
* core: add iso with 9p mount support
* core: add support for 9p mounts
* conf: update default config
* core: add config file support
* k3s: configurable version
* k3s: fix bug due to configuration version
* k3s: make ingress (traefik) configurable
* net: ignore network check on non-macOS at shutdown
* chore: code refactor
* ci: fix failed build
* chore: fix false negative error message
* ci: add more tests
* chore: improve error output for commands
* k3s: fix regression due to file transfer method
* cli: do not truncate outputs
* cli: improve list output
* core: add support for docker config, mount type
* cli: add --edit flag to start
* chore: use temp file for startup edit
* cli: new template command for default settings
* net: delay during vmnet process termination
* ci: fix lint error
* net: refactor vmnet daemon, remove symlink hack
* net: improve vmnet daemon shutdown
* net: add gvproxy as additional network option
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* net: fix gvproxy for multiple instances
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* net: fix regression due to gvproxy
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* net: disable network address by default
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: fix lint error
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* cli: rename network-gateway to network-driver
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: prompt before restarting on config edit
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* k8s: fix broken kubeconfig after network address toggle
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* core: update iso image
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* ci: add cross-architecture to integration test
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* docs: update readme
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: ignore already running instances for `start` command
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: handle code and siblings when specified in `colima start --edit --editor`
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* docs: update README.md
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: handle input validation for mount type
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* net: make gvproxy the default driver
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* docs: update readme
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
* chore: fix minor typo in template
Signed-off-by: Abiola Ibrahim <git@abiosoft.com >
2022-05-03 18:10:16 +01:00
Abiola Ibrahim and GitHub
5e2e41310e
network: more fixes( #231 )
...
* network: ensure network process has started
* network: more checks to ensure the network process has started before starting Lima
2022-03-20 08:47:06 +01:00
Abiola Ibrahim and GitHub
f944599fea
add ptp based network ( #227 )
...
* build: add vmnet script
* chore: minor refactors and fixes
* net: begin ptp network
* net: embed vmnet
* chore: remove obsolete dry-run command
* net: vmnet support checkpoint
* net: vmnet works
* net: add ip address to colima list
* net: make network instance dynamic
* net: fix embedded archives
* net: ptp network works
* net: route fixed, general refactor
* misc: minor refactor
* cli: enable force stop
* cli: add json to colima list
* k8s: bind to VM ip address
* fix lint
2022-03-19 16:39:09 +01:00
Abiola Ibrahim and GitHub
e1df01257a
Fix #79 : ensure container runtime startup is successful ( #81 )
...
* fix #79 : ensure container runtime startup
* fix #79 : increase retry count to 10
2021-12-06 16:48:42 +01:00
422e9f1ef8
feat(logging): enable verbose logging ( #47 )
...
* feat: verbose output (#31 )
* feat: verbose writer
* refactor: pass verbose flag to app in New() Function
* chore(logging): enable verbose logging
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
* chore(logging): filter redundant info from log
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
* chore(logging): minor refactor
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
Co-authored-by: Lukas <57864392+hown3d@users.noreply.github.com >
2021-10-27 19:45:36 +01:00
Abiola Ibrahim
4388894455
chore: improve log and version output
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-10-11 19:38:04 +01:00
Abiola Ibrahim
1f8f46de50
log: nitpick refactors
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-10-10 22:05:07 +01:00
Abiola Ibrahim
1836d1f890
log: improved logging and download progress bar
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-10-10 10:57:55 +01:00
Abiola Ibrahim
608bf73133
log: use logger library
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-10-09 19:51:52 +01:00
Abiola Ibrahim
b91ac3f809
generate code refactor
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-09-29 11:06:34 +01:00
Abiola Ibrahim
d023d7dc0b
go rewrite: checkpoint - nerdctl and docker runtimes work end to end
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-09-23 18:41:58 +01:00
Abiola Ibrahim
254cc5ca68
go rewrite: fix command and log outputs
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-09-19 22:16:54 +01:00
Abiola Ibrahim
7103a78fb5
go rewrite: add dry-run for testing, getting closer
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-09-19 20:48:02 +01:00
Abiola Ibrahim
ced67e7178
go rewrite: more refactor, getting closer
...
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com >
2021-09-19 17:06:37 +01:00
Abiola Ibrahim
cc7ab5c1e3
go rewrite: restructure packages
2021-09-19 09:16:46 +01:00
Abiola Ibrahim
f9bf2a39d5
go rewrite: restructure packages
2021-09-19 09:16:46 +01:00
Abiola Ibrahim
a039361d47
go rewrite: replicate colima and docker (untested)
2021-09-19 09:16:45 +01:00