blacklabelops-legacy / centos

Deprecated Repository
MIT License
12 stars 8 forks source link

: invalid option error while building the image #4

Open rajendraarora16 opened 7 years ago

rajendraarora16 commented 7 years ago

Hello,

I have installed vagrant successfully into my machine as well have followed up all your instructions, while building the image I'm getting the following error:


[vagrant@localhost vagrant]$ ./buildBaseImage.sh blacklabelops-centos7.ks blacklabelops-centos7:
: invalid option
Usage:  /bin/bash [GNU long option] [option] ...
        /bin/bash [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --rpm-requires
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option

How to resolve this issue?

blacklabelops commented 7 years ago

I will take a look at it!

blacklabelops commented 7 years ago

Hello rajendra,

I was able to execute the script and could not reproduce the error message. Please check the file permissions of the batch file.

Also I was not able to execute the whole procedure successfully. The repository for the systemd dummy is not available anymore. I will have to check for an up to date mechanism.

blacklabelops commented 7 years ago

If you still want to create your own base image look here: Docker: Create a base image