[Airship-discuss] update in configuration of bootstrap module in airshipctl
WALTERS, ANDREW
aw442m at att.com
Mon Mar 16 14:34:02 UTC 2020
Hello again Aniruddha!
> 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".
This is the same circumstance as the manifest section; details in the "bootstrapInfo" section must be modified in the configuration file. The command-line arguments will allow you to change which "bootstrapInfo" options are used for a particular context, but they do not provide a means for changing the ISO URL, user-data, or network data that cloudinit consumes.
We always encourage filing issues [0] for these enhancements so they can be evaluated by the team at our weekly flightplan call [1] :)
Best regards,
Drew Walters
[0] https://github.com/airshipit/airshipctl/issues
[1] https://wiki.openstack.org/wiki/Airship#AIRSHIP_Flight_Plan_-_Community_Management_Meetings
From: GAUTAM, ANIRUDDHA SINGH <ag878f at att.com>
Sent: Friday, March 13, 2020 1:13 PM
To: airship-discuss at lists.airshipit.org
Cc: GAUTAM, ANIRUDDHA SINGH <ag878f at att.com>
Subject: Re: [Airship-discuss] update in configuration of bootstrap module in airshipctl
***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
One correction in highlighted part!
Regards,
Aniruddha
From: GAUTAM, ANIRUDDHA SINGH <mailto:ag878f at att.com>
Sent: Friday, March 13, 2020 11:06 AM
To: mailto:airship-discuss at lists.airshipit.org
Cc: GAUTAM, ANIRUDDHA SINGH <mailto:ag878f at 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 at 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
More information about the Airship-discuss
mailing list