diff --git a/internal/app/machined/pkg/controllers/files/iqn.go b/internal/app/machined/pkg/controllers/files/iqn.go index 267a5cb2af..a32a15a7fa 100644 --- a/internal/app/machined/pkg/controllers/files/iqn.go +++ b/internal/app/machined/pkg/controllers/files/iqn.go @@ -87,7 +87,7 @@ func (ctrl *IQNController) Run(ctx context.Context, r controller.Runtime, _ *zap spec := r.TypedSpec() // Fri Nov 3 16:19:12 2017 -0700 is the date of the first commit in the talos repository. - spec.Contents = []byte(fmt.Sprintf("InitiatorName=iqn.2017.11.dev.talos:%s\n", machineID)) + spec.Contents = []byte(fmt.Sprintf("InitiatorName=iqn.2017-11.dev.talos:%s\n", machineID)) spec.Mode = 0o600 spec.SelinuxLabel = constants.EtcSelinuxLabel diff --git a/internal/app/machined/pkg/controllers/files/nqn.go b/internal/app/machined/pkg/controllers/files/nqn.go index ea51f74869..b134221982 100644 --- a/internal/app/machined/pkg/controllers/files/nqn.go +++ b/internal/app/machined/pkg/controllers/files/nqn.go @@ -108,7 +108,7 @@ func (ctrl *NQNController) Run(ctx context.Context, r controller.Runtime, _ *zap spec := r.TypedSpec() // Fri Nov 3 16:19:12 2017 -0700 is the date of the first commit in the talos repository. - spec.Contents = []byte(fmt.Sprintf("nqn.2017.11.dev.talos:uuid:%s", hostID.String())) + spec.Contents = []byte(fmt.Sprintf("nqn.2017-11.dev.talos:uuid:%s", hostID.String())) spec.Mode = 0o600 spec.SelinuxLabel = constants.EtcSelinuxLabel