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

"sh" command causes "panic: runtime error: slice bounds out of range" #37

Open
sumanthr1 opened this issue Feb 11, 2021 · 0 comments
Open

Comments

@sumanthr1
Copy link

Below is the reproduction on CentOS 8:

/ansible-interactive-tutorial]:606 sudo ./tutorial.sh
starting container ansible.tutorial

== Ansible Interactive Tutorial ==

1) Getting Started
2) Basic inventory
3) First modules and facts
4) Groups and variables
5) Playbooks
6) Playbooks, pushing files on nodes
7) Playbooks and failures
8) Playbook conditionals
9) Git module
10) Extending to several hosts
11) Templates
12) Variables again
13) Migrating to roles!
14) Using roles from Ansible Galaxy - Install a Jenkins server
15) Free play

0) [Exit]

Please select a lesson: 1

== Getting Started ==


    Hello, welcome to the Ansible Interactive Tutorial! 

    This lesson is to make you familiar with the environment. 

    Now, you are inside a docker container on which you have ansible installed. 

    Verify that you have ansible installed by running the following command: 

    ansible --version 

~/workspace $ sh 
panic: runtime error: slice bounds out of range

goroutine 20 [running]:
github.com/turkenh/nutsh/cli.tokenize(0xc420060c00, 0xc420060c60, 0xc420060cc0, 0xc4204610d8)
	/root/go/src/github.com/turkenh/nutsh/cli/tokenizer.go:118 +0xad3
created by github.com/turkenh/nutsh/cli.Spawn
	/root/go/src/github.com/turkenh/nutsh/cli/cli.go:46 +0x2c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant