Bootstrap script gives error as: /usr/bin/python: bad interpreter: No such file or directory while trying to register RHEL 8 content hosts with Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • While registering the RHEL 8 content host to Red Hat Satellite 6 using bootstrap method getting bad interpreter error as follows:

        [root@client ~]# ./bootstrap.py -l admin -s foreman.example.com -o 'Default Organization' -L 'Default Location' -g My_Hostgroup -a My_Activation_Key
        bash: ./bootstrap.py: /usr/bin/python: bad interpreter: No such file or directory
    

Environment

  • Red Hat Satellite 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content