linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nvme-cli v1 0/2] auto generate hostnqn file on installation
@ 2016-11-08 10:48 Sagi Grimberg
  2016-11-08 10:48 ` [PATCH nvme-cli v1 1/2] nvme-cli: Add nvme hostnqn generation option Sagi Grimberg
  2016-11-08 10:48 ` [PATCH nvme-cli v1 2/2] nvme.spec/debian: Auto generate host nqn as part of install Sagi Grimberg
  0 siblings, 2 replies; 7+ messages in thread
From: Sagi Grimberg @ 2016-11-08 10:48 UTC (permalink / raw)


This set is designed to help the user by auto-generating a hostnqn and
placing it in /etc/nvme/hostnqn file upon installation of nvme-cli (in
case such a file doesn't exist).

The user can re-generate different hostnqns on demand by running:
$ nvme gen-hostnqn

Only the deb package is tested.

Changes from v0 (rfc):
- Moved hostnqn generation to nvme with the command gen-hostnqn
- Cleanup hostnqn file only on purge in debian

Sagi Grimberg (2):
  nvme-cli: Add nvme hostnqn generation option
  nvme.spec/debian: Auto generate host nqn as part of install

 Makefile        |  1 +
 debian/postinst | 20 ++++++++++++++++++++
 debian/postrm   |  5 +++++
 nvme-builtin.h  |  1 +
 nvme.c          | 14 ++++++++++++++
 nvme.spec.in    | 12 ++++++++++++
 6 files changed, 53 insertions(+)
 create mode 100644 debian/postinst
 create mode 100644 debian/postrm

-- 
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-16 17:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 10:48 [PATCH nvme-cli v1 0/2] auto generate hostnqn file on installation Sagi Grimberg
2016-11-08 10:48 ` [PATCH nvme-cli v1 1/2] nvme-cli: Add nvme hostnqn generation option Sagi Grimberg
2016-11-08 17:36   ` J Freyensee
2016-11-16 17:11   ` Christoph Hellwig
2016-11-08 10:48 ` [PATCH nvme-cli v1 2/2] nvme.spec/debian: Auto generate host nqn as part of install Sagi Grimberg
2016-11-08 17:41   ` J Freyensee
2016-11-14 14:58   ` Gabriel Krisman Bertazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).