Skip to content

Commit

Permalink
Removed un-needed config options
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain M Conochie committed Apr 12, 2024
1 parent daa5c51 commit 1f63872
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 1 addition & 8 deletions conf/cmdb.conf.DIST
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
## DB Driver
DBTYPE=sqlite # DB type

## SQLITE PATH
FILE=/var/lib/cmdb/sql/cmdb.sql # Sqlite database file

## MYSQL DB Connectivity
DB=your-mysql-db # Database name
USER=your-mysql-user # DB user
Expand Down Expand Up @@ -32,10 +29,6 @@ SECNS= # DNS name of the secondary DNS server

## CBC settings

TMPDIR=/tmp/cmdb # Temporary directory
TFTPDIR=/srv/tftp # TFTP root directory
PXE=pxelinux.cfg # Boot config sub-directory
PRESEED=preseed/ # Preseed sub-directory
KICKSTART=ks/ # Kickstart sub-directory
DHCPCONF=/etc/dhcp/dhcpd.hosts # DHCP config file
DHCPCONF=/etc/dhcp # DHCP config directory

1 change: 0 additions & 1 deletion lib/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ parse_cmdb_config_values(ailsa_cmdb_s *cmdb, FILE *conf)

GET_CONFIG_OPTION("TMPDIR=%s", cmdb->tmpdir);
GET_CONFIG_OPTION("TOPLEVELOS=%s", cmdb->toplevelos);
GET_CONFIG_OPTION("PXE=%s", cmdb->pxe);
GET_CONFIG_OPTION("DBTYPE=%s", cmdb->dbtype);
GET_CONFIG_OPTION("DB=%s", cmdb->db);
GET_CONFIG_OPTION("FILE=%s", cmdb->file);
Expand Down

0 comments on commit 1f63872

Please sign in to comment.