cPanel dns-only installation ignores flags

Tanner_W

Member
Feb 2, 2015
10
0
1
cPanel Access Level
DataCenter Provider
When installing cPanel DNS-Only via retrieval and execution of the latest-dnsonly shell script, it ignores the standard input flags, specifically the --force option.

The --force should allow for an installation despite the supported environment checks on the system.

More specifically, my system with CentOS 7 and 768MB of ram, fails to meet the check for 1024MB of ram. Using the --force flag I believe should force the installation to continue, but the installation still aborts, failing to obey the --force flag.

I'm referencing the installation documentation found at:
https :// documentation . cpanel . net/display/76Docs/Installation+Guide+-+cPanel+DNSONLY+Installation
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hi,

The described behavior is by design. The installer will not allow installing cPanel & WHM into an unsupported environment. This applies to all variants of the product, not just DNSOnly.
 

Tanner_W

Member
Feb 2, 2015
10
0
1
cPanel Access Level
DataCenter Provider
Hello Kenneth,

Thank you for the response. Is this because the memory check is a requirement vs. recommended configuration? If not, I suppose I do not understand the purpose of the --force flag as seen in the documentation at https :// documentation .cpanel . net/display/76Docs/Installation+Guide+-+Customize+Your+Installation

--force : "Force installation on an unrecommended configuration."
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston