1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

Fix os-release file

This commit is contained in:
Josh Curl
2017-01-19 10:55:51 -08:00
parent a9f19b7d1d
commit f906142534
4 changed files with 15 additions and 23 deletions

View File

@@ -85,8 +85,8 @@ func consoleInitAction(c *cli.Context) error {
{"/var/lib/rancher/engine/dockerd", "/usr/bin/dockerd"},
{"/var/lib/rancher/engine/docker-proxy", "/usr/bin/docker-proxy"},
{"/var/lib/rancher/engine/docker-runc", "/usr/bin/docker-runc"},
{"/usr/share/rancher/os-release", "/usr/lib/os-release"},
{"/usr/share/rancher/os-release", "/etc/os-release"},
{"/usr/share/ros/os-release", "/usr/lib/os-release"},
{"/usr/share/ros/os-release", "/etc/os-release"},
} {
syscall.Unlink(link.newname)
if err := os.Symlink(link.oldname, link.newname); err != nil {