mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-11-07 18:31:58 +01:00
Create install-iscsi-target
This commit is contained in:
parent
3ca96f6f35
commit
4e05e5a916
6
install-iscsi-target
Normal file
6
install-iscsi-target
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
DOMAIN=org.bashclub
|
||||
|
||||
apt update
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install targetcli-fb
|
||||
echo -e "cd iscsi\ncreate iqn.$(date '+%Y-%m').$DOMAIN.iscsi\nexit" | targetcli
|
Loading…
Reference in New Issue
Block a user