1
// Copyright 2011, 2012, 2013 Canonical Ltd.
2
// Licensed under the LGPLv3, see LICENCE file for details.
10
// IsUbuntu executes lxb_release to see if the host OS is Ubuntu.
11
func IsUbuntu() bool {
12
out, err := RunCommand("lsb_release", "-i", "-s")
16
return strings.TrimSpace(out) == "Ubuntu"