mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-12-25 01:30:12 +01:00
7 lines
212 B
Bash
7 lines
212 B
Bash
#!/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
|