chore(rename): s/coreos-init/coreos/cloudinit/

This commit is contained in:
Brian Waldon 2014-03-04 17:46:35 -08:00
parent c4385fa50c
commit 6ae122f959
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ func AuthorizeSSHKeys(keys []string) error {
// also ends with a newline
joined := fmt.Sprintf("%s\n", strings.Join(keys, "\n"))
cmd := exec.Command("update-ssh-keys", "-u", "core", "-a", "coreos-init")
cmd := exec.Command("update-ssh-keys", "-u", "core", "-a", "coreos-cloudinit")
stdin, err := cmd.StdinPipe()
if err != nil {
return err

View File

@ -22,12 +22,12 @@ func StartUnit(name string) error {
func ExecuteScript(scriptPath string) error {
props := []dbus.Property{
dbus.PropDescription("Unit generated and executed by coreos-init on behalf of user"),
dbus.PropDescription("Unit generated and executed by coreos-cloudinit on behalf of user"),
dbus.PropExecStart([]string{"/bin/bash", scriptPath}, false),
}
base := path.Base(scriptPath)
name := fmt.Sprintf("coreos-init-%s.service", base)
name := fmt.Sprintf("coreos-cloudinit-%s.service", base)
log.Printf("Creating transient systemd unit '%s'", name)