Opened 2 years ago

Closed 2 years ago

#538 closed System Defect (fixed)

pc-sysinstall unable to parse commands containing equals sign in pc-sysinstall.cfg

Reported by: glarkin Owned by: kris
Priority: minor Milestone:
Component: Installer Version: 9.0-RELEASE
Keywords: Cc: trac-bugs@…

Description

The functions-parse.sh file contains several functions to extract values from a key/value pair delimited by an equals sign ("="). The cut command used to do this extracts the 2nd field only, which truncates commands containing the delimiter character.

Example:

runCommand=echo puppet_enable=YES >> /etc/rc.conf

This command will be executed as "echo puppet_enable" only.

Please see the attachment that fixes the parsing problem.

Attachments (1)

functions-parse.sh.diff (1.9 KB) - added by glarkin 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by glarkin

comment:1 Changed 2 years ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Committed the changes for PC-BSD 9.1. We will get the patch into FreeBSD soon as well.

Thanks!

Note: See TracTickets for help on using tickets.