Update the lvlab hosts --append
command to verify before appending
#28
Labels
enhancement
New feature or request
lvlab hosts --append
command to verify before appending
#28
As an lvlab user the
lvlab hosts --append
command can sometimes add duplicate content to the /etc/hosts file. We should update the feature to do some validation before appending.Potential validations:
If any of the items for a machine already exists, skip that entry and output that it was skipped and why.
Add non-conflicting entries as appropriate.
AC
lvlab hosts --append
command no longer adds duplicate values to the /etc/hosts fileThe text was updated successfully, but these errors were encountered: