Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for hostname detection on macOS #1648

Merged
merged 1 commit into from
Apr 12, 2017
Merged

Conversation

chris-rock
Copy link
Contributor

@chris-rock chris-rock commented Apr 12, 2017

inspec shell
Welcome to the interactive InSpec Shell
To find out how to use it, type: help

You are currently running on:

    OS platform:  mac_os_x
    OS family:  darwin
    OS release: 10.12.4

inspec> sys_info.hostname
=> "remchartmann01"

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@arlimus
Copy link
Contributor

arlimus commented Apr 12, 2017

Oh yeah, good catch! 👍

@arlimus arlimus merged commit b527c30 into master Apr 12, 2017
@arlimus arlimus deleted the chris-rock/hostname-mac branch April 12, 2017 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants