Skip to content

Commit 173b8a9

Browse files
committed
Updated create-image-from-docker script to the new initrd with extra volumes
1 parent 9c4640f commit 173b8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/create-image-from-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ scw exec "${SERVER}" 'uname -a'
3737

3838

3939
echo "[+] Formating and mounting /dev/nbd1..."
40-
scw exec "${SERVER}" 'service xnbd-common stop && service xnbd-common start && mkfs.ext4 /dev/nbd1 && mount /dev/nbd1 /mnt'
40+
scw exec "${SERVER}" 'mkfs.ext4 /dev/nbd1 && mount /dev/nbd1 /mnt'
4141
echo "[+] /dev/nbd1 formatted in ext4 and mounted on /mnt"
4242

4343

0 commit comments

Comments
 (0)