@_ensure_exists
def disable(name):
    cmd = 'systemctl disable systemd-nspawn@{0}'.format(name)
    if __salt__['cmd.retcode'](cmd, python_shell=False) != 0:
        __context__['retcode'] = salt.defaults.exitcodes.EX_UNAVAILABLE
        return False
    return True
Set the named container to *not* be launched at boot
dataset/ETHPy150Open saltstack/salt/salt/modules/nspawn.py/disable