utility

package
v0.0.0-...-f6ab670 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExpectedServiceRunningUser is the user we expect the agent to be running as
	ExpectedServiceRunningUser = "root"
)

Variables

This section is empty.

Functions

func IsRunningElevatedPermissions

func IsRunningElevatedPermissions() error

IsRunningElevatedPermissions checks if current user is administrator

func WaitForCloudInit

func WaitForCloudInit(log log.T, timeoutSeconds int) error

WaitForCloudInit waits for cloud-init to complete

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL