Releases: Tyr3al/ncctl
Releases · Tyr3al/ncctl
v0.4.0
v0.3.0
Added
versioncommand for bothncctlandncserver: prints the semantic version, commit hash, and build date; build-time values are injected via-ldflagsand fall back to embedded VCS info when built from source
Changed
- Update documentation for
ncserver - Split documentation for
ncctlandnccserver
Fixed
servers powercommands, now support lower case value (e.g.on,off)interfaces create-vlanandinterfaces updatenow accept lowercase--drivervalues (e.g.virtio)
v0.2.0
Added
ncserver renew: forces a token refresh and persists the updated refresh token to disk; prevents offline token expiry from inactivity- systemd units in
contrib/systemd/:ncserver-token-renew.serviceandncserver-token-renew.timerfor weekly automated token renewal
Fixed
- Rotated refresh tokens are now persisted to the config file after every API call, preventing authentication failures when the SCP auth server issues a new refresh token
- Failover for IPv6 nets
v0.1.0
Added
-- login / logout / whoami commands using OAuth2 device authorization flow with persistent token storage
- Server commands:
list,get,update(hostname, nickname, autostart, UEFI),power - Snapshot commands:
list,get,create,delete,revert,export,dryrun - Disk commands:
list,get,format,set-driver,supported-drivers - Interface commands:
create-vlan,update,delete - ISO commands:
attached,list,attach,detach - Rescue system commands:
status,enable,disable - Firewall commands: policy
list/get/create/update/deleteand interfaceget/save/reapply/restore-copied - Failover IP routing with
routecommand; supports routing multiple IPs to a single destination in one invocation - rDNS management:
setanddeletefor IPv4 and IPv6 addresses - Server name resolution: all commands accept either a numeric server ID or the server name as shown in the netcup UI (e.g.
v2202508149564377314) --jsonflag for machine-readable output on all commands--yes/-yflag to skip confirmation prompts on destructive operations--timeoutflag for configuring API request timeout--configflag for specifying a custom config file path- Apache 2.0 license
ncserverbinary: a server-local CLI with a reduced command set scoped to the server it runs onncserver identify: detects the server by querying the SCP API for each local IP address; result is cached in the config file; accepts--server-idfor manual overridencservercommands:status,failover list,failover route,rescue status/enable/disable,snapshots list/create,rdns get/set/delete,tasks waitserver_idfield in the config file, written byncserver identify- GitHub Actions CI workflow running
go vetandgo teston push and pull requests