Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing the default format to yaml #98

Merged
merged 1 commit into from
Aug 23, 2018
Merged

Conversation

immarvin
Copy link
Contributor

fix #88

UT:

[root@briggs01 tmp]# xcat-inventory export -t site
schema_version: '1.0'
site:
  clustersite:
    SNsyncfiledir: /var/xcat/syncfiles
    auditnosyslog: '0'
    auditskipcmds: ALL
    blademaxp: '64'
    cleanupxcatpost: 'no'
    consoleondemand: 'no'
    databaseloc: /var/lib
    db2installloc: /mntdb2
    dhcpinterfaces: briggs01.pok.stglabs.ibm.com|enP34p1s0f0,,enP34p1s0f0.12,enP34p1s0f1:noboot
    dhcplease: '300'
    disjointdhcps: '0'
    dnshandler: ddns
    domain: pok.stglabs.ibm.com
    enableASMI: 'no'
    forwarders: 10.6.29.1
    fsptimeout: '0'
    hierarchicalattrs: postscripts
    installdir: /install
    ipmimaxp: '64'
    ipmiretries: '3'
    ipmitimeout: '2'
    master: 172.12.253.27
    maxssh: '8'
    nameservers: 172.12.253.27
    nodesyncfiledir: /var/xcat/node/syncfiles
    ntpservers: <xcatmaster>
    powerinterval: '0'
    ppcmaxp: '64'
    ppcretry: '3'
    ppctimeout: '0'
    runbootscripts: '1'
    secureroot: '1'
    sharedtftp: '1'
    sshbetweennodes: ALLGROUPS
    svloglocal: '0'
    syspowerinterval: '0'
    tftpdir: /tftpboot
    timezone: America/New_York
    useNmapfromMN: 'no'
    vsftp: n
    xcatconfdir: /etc/xcat
    xcatdebugmode: '0'
    xcatdport: '3001'
    xcatiport: '3002'
    xcatmaxbatchconnections: '300'
    xcatmaxconnections: '356'
    xcatsslversion: TLSv1

#Version 2.14.3 (git commit d1bf861f7bae8e322a8d5b33f0729d5c3fe0a2b7, built Mon Aug 13 06:15:45 EDT 2018)

@immarvin immarvin added the enhancement New feature or request label Aug 23, 2018
@immarvin immarvin added this to the 2.14.4 milestone Aug 23, 2018
@robin2008 robin2008 merged commit 0d35ced into xcat2:master Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request default of export to be --format=yaml
2 participants