Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

rebuid issue using linode-cli (CentOS 7 missing) #65

Closed
kimjayney opened this issue Sep 23, 2017 · 1 comment
Closed

rebuid issue using linode-cli (CentOS 7 missing) #65

kimjayney opened this issue Sep 23, 2017 · 1 comment

Comments

@kimjayney
Copy link

kimjayney commented Sep 23, 2017

I'm run script

linode rebuild rubyrain1 --distribution "CentOS 7" --password $L_DEFAULT_PW --stackscript $L_STACKSCRIPT_ID  --stackscriptjson '{ "privip": "$F_PRIV_IP_DATA", "sslip" : "$L_SSLSERVER_IP", "sslpw" : "$L_SSLSERVER_PW" }'  --api-key $L_API_KEY #build new node process with Stackscript

also, I tried single quote

--distribution 'CentOS 7'

But node Installed CentOS 6

[root@li1602-162 ~]# cat /etc/centos-release
CentOS release 6.8 (Final)
[root@li1602-162 ~]#
@kimjayney kimjayney changed the title rebuid issue using linode-cli rebuid issue using linode-cli (CentOS 7 missing) Sep 23, 2017
@displague
Copy link
Contributor

Thanks for reporting this @rainc.

This API v3 based CLI is deprecated in favor of the Linode API v4 based CLI at https://www.github.com/linode/linode-cli (pip install linode-cli).

In the new linode-cli, with our new image ids, the distribution label matching bug you experienced would not occur.

$ linode-cli images list --format id
┌───────────────────────┐
│ id                    │
├───────────────────────┤
│ private/2763837       │
│ private/4890139       │
│ private/4894922       │
│ linode/arch           │
│ linode/centos7        │
│ linode/containerlinux │
│ linode/debian8        │
│ linode/debian9        │
│ linode/fedora27       │
│ linode/fedora28       │
│ linode/fedora29       │
│ linode/gentoo         │
│ linode/opensuse15.0   │
│ linode/opensuse42.3   │
│ linode/slackware14.2  │
│ linode/ubuntu16.04lts │
│ linode/ubuntu18.04    │
│ linode/ubuntu18.10    │
│ linode/centos6.8      │
│ linode/fedora26       │
│ linode/slackware14.1  │
│ linode/ubuntu14.04lts │
│ linode/ubuntu17.10    │
└───────────────────────┘
$ linode-cli linodes create --type g5-standard-2 --region us-east --image linode/debian9 \
  --label cli-1 --root_pass $ROOT_PASS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants