def _GetUserInit(allow_privileged):
    'Gets user-init metadata value for COS image.'
    allow_privileged_val = ('true' if allow_privileged else 'false')
    return (USER_INIT_TEMPLATE % allow_privileged_val)
Gets user-init metadata value for COS image.
def _GetUserInit(allow_privileged):
    
    allow_privileged_val = ('true' if allow_privileged else 'false')
    return (USER_INIT_TEMPLATE % allow_privileged_val)