def METHOD_NAME(self, image, enable):
    fips = "1" if enable else "0"
    cmdline = self.get_linux_cmdline(image)
    cmdline = re.sub(r' sonic_fips=[^\s]', '', cmdline) + " sonic_fips=" + fips
    self.set_linux_cmdline(image, cmdline)
    click.echo('Done')