magellan/bin/magellan.sh
2023-10-05 12:57:08 -06:00

21 lines
385 B
Bash

function build(){
go mod tidy && go build -C bin/magellan
}
function scan() {
./magellan scan --subnet 172.16.0.0 --port 443
}
function list() {
./magellan list
}
function update() {
./magellan update --user admin --pass password --host 172.16.0.109 --component BMC --protocol HTTP --firmware-path ""
}
function collect() {
./magellan collect --user admin --pass password
}