One correction in highlighted part!
Regards,
Aniruddha
From: GAUTAM, ANIRUDDHA SINGH <ag878f@att.com>
Sent: Friday, March 13, 2020 11:06 AM
To: airship-discuss@lists.airshipit.org
Cc: GAUTAM, ANIRUDDHA SINGH <ag878f@att.com>
Subject: [Airship-discuss] update in configuration of bootstrap module in airshipctl
Hello,
What is the format of the command to update the configuration bootstrap module in airshipctl?
Use cases:
(1) user/operator wants to update user-data or network data for cloudinit.
(2) user / operator wants to update the url for iso for the consumption of “remotedirect”.
“airshipctl confit init” generates below configuration for bootstrap module.
modules-config:
bootstrapInfo:
default:
builder:
networkConfigFileName: network-config
outputMetadataFileName: output-metadata.yaml
userDataFileName: user-data
container:
containerRuntime: docker
image: quay.io/airshipit/isogen:latest
volume: /srv/iso:/config
remoteDirect:
isoUrl:
http://localhost:8099/debian-custom.iso
remoteType: redfish
However it is not very obvious from help, how configuration for bootstrap module can be updated.
root@ubuntu-annie:~/airshipctl# ./bin/airshipctl config
Modify airshipctl config files using subcommands
like "airshipctl config set-context my-context"
Usage:
airshipctl config [command]
Available Commands:
get-cluster Display a specific cluster or all defined clusters if no name is provided
get-context Display a specific context, the current-context or all defined contexts if no name is provided
get-credentials Gets a user entry from the airshipctl config
init Generate initial configuration files for airshipctl
set-cluster Sets a cluster entry in the airshipctl config
set-context Switch to a new context or update context values in the airshipctl config
set-credentials Sets a user entry in the airshipctl config
use-context Switch to a different airshipctl context.
Flags:
-h, --help help for config
Global Flags:
--airshipconf string Path to file for airshipctl configuration. (default "$HOME/.airship/config")
--debug enable verbose output
--kubeconfig string Path to kubeconfig associated with airshipctl configuration. (default "$HOME/.airship/kubeconfig")
Use "airshipctl config [command] --help" for more information about a command.
Regards,
Aniruddha