Skip to content

Instantly share code, notes, and snippets.

@danmcd
Created November 14, 2024 15:21
Show Gist options
  • Save danmcd/c916ba8ccef8cdc462b8c561d3fabb81 to your computer and use it in GitHub Desktop.
Save danmcd/c916ba8ccef8cdc462b8c561d3fabb81 to your computer and use it in GitHub Desktop.
Sample /etc/ppt_aliases and /etc/ppt_matches using a piadm(8) bootable-pool
[root@gpu-test ~]# cd /zones/boot/
[root@gpu-test /zones/boot]# ls
boot platform
boot-20241003T000345Z platform-20241003T000345Z
boot-20241017T041739Z platform-20241014T191612Z
custom platform-20241017T041739Z
etc platform-20241022T180707Z
os system
[root@gpu-test /zones/boot]# cd custom
[root@gpu-test /zones/boot/custom]# ls
loader.conf.local loader.rc.local
[root@gpu-test /zones/boot/custom]# more loader.conf.local
# Example /etc/system
#etc_system_load=YES
#etc_system_type=file
# Absolute path with / == $BOOTFS
#etc_system_name=/system/etc/system
#etc_system_flags="name=/etc/system"
etc_ppt_matches_load=YES
etc_ppt_matches_type=file
# Absolute path with / == $BOOTFS
etc_ppt_matches_name=/system/etc/ppt_matches
etc_ppt_matches_flags="name=/etc/ppt_matches"
etc_ppt_aliases_load=YES
etc_ppt_aliases_type=file
# Absolute path with / == $BOOTFS
etc_ppt_aliases_name=/system/etc/ppt_aliases
etc_ppt_aliases_flags="name=/etc/ppt_aliases"
[root@gpu-test /zones/boot/custom]# more loader.rc.local
[root@gpu-test /zones/boot/custom]# cd ..
[root@gpu-test /zones/boot]# ls system
etc
[root@gpu-test /zones/boot]# ls system/etc
aliases-commented ppt_aliases ppt_matches
[root@gpu-test /zones/boot]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment