Project

General

Profile

Actions

Bug #3747

closed

The script of initialization rudder-init.sh display an error message if called with arguments

Added by Nicolas PERRON over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The rudder-init.sh script can be called with argument if, for example, we have to automate the installation of Rudder server. Nevertheless, an error message is displayed during its execution:

root@server:~# /tmp/rudder-init.sh server.rudder.local no yes yes 192.168.42.0/24

Hostname: server.rudder.local
Allowed networks: 192.168.42.0/24
Add sample data? no
Reinitialize LDAP database? yes
/tmp/rudder-init.sh: line 170: [: -ne: unary operator expected

Hit any key to continue....
Actions

Also available in: Atom PDF