Guest User

Obtener imagen iso de OpenBSD

a guest
Feb 25th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. ## Original de Calomel.org -- Making a bootable OpenBSD CD
  4. ## Modificado por Kriptopolis.org
  5. #
  6. arch="i386"       # Architecture
  7. version="5.2"      # OS version
  8. #
  9. echo "Preparando el entorno..."
  10. mkdir -p /tmp/OpenBSD/$version/$arch
  11. cd /tmp/OpenBSD/$version/$arch
  12. #
  13. echo "Obteniendo ficheros..."
  14. wget --passive-ftp --reject *iso ftp://ftp.rediris.es/pub/OpenBSD/$version/$arch/*
  15. #
  16. echo "Construyendo la ISO..."
  17. cd /tmp/OpenBSD
  18. mkisofs -r -no-emul-boot -b $version/$arch/cdbr -c boot.catalog -o OpenBSD.iso /tmp/OpenBSD/
  19. #
  20. echo "LISTO."
  21. #
Advertisement
Add Comment
Please, Sign In to add comment