vzcfgvalidate(8)

πŸ“¦ version 4.9.4, in ubuntu jammy

πŸ’– vzcfgvalidate β€” the vibe-check for your container config πŸ’–

okay so bestie, welcome to vzcfgvalidate, section 8 of the Containers manual (yes she's a big important sysadmin girly, not some lil section 1 baby) 🫢


✨ NAME ✨

vzcfgvalidate β€” validate a container configuration file. that's it, that's the whole job, and she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

vzcfgvalidate [-r] [-i] [-v yes|no] configfile

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” this utility checks the validity of resource control parameters in a container configuration file, aka configfile. and why do we care? because some of the User Beancounter parameters have interdependencies, and if those aren't met, your configuration is inconsistent. like, not to be dramatic, but it's giving "broken". 😭

the utility finds and reports such inconsistencies. she's not judging, she's just informing. no cap.

there are three severity levels in the output:

  1. Error
  2. Warning
  3. Recommendation

know the difference, iykyk πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -r β€” Repair mode. she corrects configfile for you. literally fixing your mess, main character energy fr fr ✨
  • -i β€” Interactive repair mode. same energy but she asks you first, like a considerate bestie 🫢
  • -v yes|no β€” whether to treat configfile as a VSwap enabled configuration. the default is auto-detect by checking if physpages.limit is not set to unlimited; this option overrides the auto-detection. so if you wanna be in charge instead of letting her guess, this is your moment πŸ’…

πŸ’€ EXIT STATUS πŸ’€

  • normally, exit status is 0. we love a peaceful ending πŸ’–
  • on program execution error, exit status is 1. oops πŸ™ˆ
  • if the validation fails, exit status is 2. the config did NOT pass the vibe check 😭

🌈 SEE ALSO 🌈

go read those too, bestie, don't leave me hanging πŸ“š


πŸ‘‘ LICENSE πŸ‘‘

Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL. periodt. πŸ’œ


and that's the whole page, gorgeous β€” OpenVZ, dated 18 Mar 2012, vzcfgvalidate(8), out πŸŽ€ stan a consistent config, mwah πŸ’‹

πŸ“¦ where this page comes from