Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

use image weaveworks/ubuntu instead of centos:7 in command examples #387

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

silenceshell
Copy link
Contributor

@silenceshell silenceshell commented Sep 2, 2019

The centos:7 image does not include ssh server, so if I run:

	$ ignite run centos:7 \
		--interactive \
		--name my-vm \
		--cpus 2 \
		--ssh \
		--memory 2GB \
		--size 10G

As the image has no ssh server, I cannot ssh to the vm. Here is the steps.

# ignite  run centos:7 --interactive --cpus 1 --memory 4GB --ssh --name vm-centos
.....
# ignite ps
VM ID			IMAGE				KERNEL					SIZE	CPUS	MEMORY	CREATED	STATUS	IPSPORTS	NAME		vm-1
ef0bb86f13f9bcd5	centos:7			weaveworks/ignite-kernel:4.19.47	4.0 GB	1	4.0 GB	14s ago	Up 14s	172.18.0.11		vm-centos
# ignite ssh vm-centos
ssh: connect to host 172.18.0.11 port 22: Connection refused
WARN[0000] SSH command terminated

I think the weaveworks/ignite-ubuntu is a better choice, as mentioned here.

Copy link
Contributor

@luxas luxas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for fixing 💯

@luxas luxas merged commit 2800ff8 into weaveworks:master Sep 9, 2019
@silenceshell silenceshell deleted the centos-in-weaveworks branch September 9, 2019 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants