Ubuntu: Drop dd ... of=/dev/stdout

This does not make any sense to me.  dd outputs to stdout by default.
This commit is contained in:
Richard Laager
2020-12-12 03:42:26 -06:00
parent b0506fe2ae
commit e536ce98a0
2 changed files with 4 additions and 4 deletions

View File

@@ -355,7 +355,7 @@ Step 3: System Installation
#. Create a filesystem dataset for the root filesystem::
UUID=$(dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null |
UUID=$(dd if=/dev/urandom bs=1 count=100 2>/dev/null |
tr -dc 'a-z0-9' | cut -c-6)
zfs create -o canmount=noauto -o mountpoint=/ \
@@ -594,7 +594,7 @@ Step 5: First Boot
Replace ``username`` with your desired username::
UUID=$(dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null |
UUID=$(dd if=/dev/urandom bs=1 count=100 2>/dev/null |
tr -dc 'a-z0-9' | cut -c-6)
ROOT_DS=$(zfs list -o name | awk '/ROOT\/ubuntu_/{print $1;exit}')
zfs create -o com.ubuntu.zsys:bootfs-datasets=$ROOT_DS \