Project

General

Profile

Actions

Bug #18797

closed

certs-tar option requires the absolute path but the result message of the foreman-installer does not

Added by daehyung lee about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The hooks/post/10-post_install.rb file uses relative path with certs-tar option.
but I can not be used with. cause the certs-tar option requires absolute path.
The error was:

[root@katello01 ~]# foreman-proxy-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY" --certs-tar "~/$FOREMAN_PROXY-certs.tar" 
Parameter certs-tar invalid: ~/puppetca01.example.net-certs.tar is not one of regexes matching /^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/ or regexes matching /^\/([^\/\0]+(\/)?)+$/
Error during configuration, exiting
Actions

Also available in: Atom PDF