esxi_realtek_driver_추가_방법

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
esxi_realtek_driver_추가_방법 [2017/10/10 11:37] – 만듦 koovesxi_realtek_driver_추가_방법 [2020/11/30 06:10] (현재) koov
줄 1: 줄 1:
 ====== ESXi Realtek Driver 추가 방법 ====== ====== ESXi Realtek Driver 추가 방법 ======
 +
 +현재 ESXi 5.x 6.x 버전에만 Realtek Driver를 사용할수 있습니다.
 +**ESXi 7.x 버전은 현재 Realtek NIC를 사용할수 없습니다.** 7.x 버전을 사용하시려면 Intel NIC등 다른 지원가능한 NIC로 교체하시기 바랍니다.
 +
  
 ===== 이미 설치되어있는 ESXi 에 realtek 드라이버 추가 ===== ===== 이미 설치되어있는 ESXi 에 realtek 드라이버 추가 =====
  
 <WRAP prewrap> <WRAP prewrap>
-<code bash>+<code powershell>
 esxcli software acceptance set --level=CommunitySupported esxcli software acceptance set --level=CommunitySupported
  
줄 13: 줄 17:
 </WRAP> </WRAP>
  
 +
 +===== ISO 이미지에 드라이버 추가 =====
 +
 +신규 설치시에 사용할수 있는 방법으로 ESXi Hypervisor iso 이미지안에 드라이버를 추가하는 방법이다.
 +
 +==== ESXi Powershell module 설치 ====
 +
 +관리자 권한으로 파워쉘을 실행한후 ''VMware PowerCLI'' 모듈을 설치한다.
 +<WRAP prewrap>
 +<code powershell>
 +PS C:\vmware> Install-Module -Name PowerShellGet -Force
 +
 +계속하려면 NuGet 공급자가 필요합니다.
 +NuGet 기반 리포지토리를 조작하려면 PowerShellGet에 NuGet 공급자 버전 '2.8.5.201' 이상이 필요합니다. 'C:\Program
 +Files\PackageManagement\ProviderAssemblies' 또는 'C:\Users\KooV\AppData\Local\PackageManagement\ProviderAssemblies'에서
 + NuGet 공급자를 사용할 수 있어야 합니다. 또한 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'
 +실행하여 NuGet 공급자를 설치할 수 있습니다. 지금 PowerShellGet에서 NuGet 공급자를 설치하고 가져오시겠습니까?
 +[Y] 예(Y)  [N] 아니요(N)  [S] 일시 중단(S)  [?] 도움말 (기본값은 "Y"):
 +PS C:\vmware>
 +</code>
 +</WRAP>
 +
 +<WRAP prewrap>
 +<code powershell>
 +PS C:\vmware> Install-Module -Name VMware.PowerCLI
 +
 +신뢰할 수 없는 리포지토리
 +신뢰할 수 없는 리포지토리에서 모듈을 설치하는 중입니다. 이 리포지토리를 신뢰하는 경우 Set-PSRepository cmdlet을
 +실행하여 InstallationPolicy 값을 변경하십시오. 'PSGallery'에서 모듈을 설치하시겠습니까?
 +[Y] 예(Y)  [A] 모두 예(A)  [N] 아니요(N)  [L] 모두 아니요(L)  [S] 일시 중단(S)  [?] 도움말 (기본값은 "N"): a
 +PS C:\vmware>
 +</code>
 +</WRAP>
 +
 +==== 파워쉘 정책 수정 ====
 +윈도우즈 파워쉘 실행정책을 수정한다.
 +
 +<WRAP prewrap>
 +<code powershell>
 +PS C:\vmware> Set-ExecutionPolicy Unrestricted
 +
 +실행 규칙 변경
 +실행 정책은 신뢰하지 않는 스크립트로부터 사용자를 보호합니다. 실행 정책을 변경하면 about_Execution_Policies 도움말
 +항목(https://go.microsoft.com/fwlink/?LinkID=135170)에 설명된 보안 위험에 노출될 수 있습니다. 실행 정책을
 +변경하시겠습니까?
 +[Y] 예(Y)  [A] 모두 예(A)  [N] 아니요(N)  [L] 모두 아니요(L)  [S] 일시 중단(S)  [?] 도움말 (기본값은 "N"): a
 +PS C:\vmware>
 +</code>
 +</WRAP>
 +
 +==== ESXi-Customizer-PS 스크립트 다운로드 ====
 +참조링크 : https://www.v-front.de/p/esxi-customizer-ps.html
 +
 +[[https://www.v-front.de/p/esxi-customizer-ps.html|이 사이트]]에서 ''ESXi-Customizer-PS'' 스크립트를 다운로드 한다.
 +
 +{{ :vmware:esxi-customizer-ps-v2.6.0.zip |}}
 +
 +==== 파워쉘 스크립트 실행 ====
 +스크립트를 실행하면 자동으로 드라이버를 포함해서 이미지를 생성한다. 드라이버 목록은 [[https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages|이곳]] 에서 확인할 수 있다.
 +
 +<WRAP prewrap>
 +<code powershell>
 +PS C:\vmware> .\ESXi-Customizer-PS-v2.6.0.ps1 -vft -load net55-r8168
 +
 +보안 경고
 +신뢰하는 스크립트만 실행하십시오. 인터넷의 스크립트는 유용할 수 있지만 사용자 컴퓨터를 손상시킬 수도 있습니다.
 +스크립트를 신뢰하는 경우 Unblock-File cmdlet을 사용하면 이 경고 메시지 없이 스크립트를 실행할 수 있습니다.
 +C:\vmware\ESXi-Customizer-PS-v2.6.0.ps1을(를) 실행하시겠습니까?
 +[D] 실행 안 함(D)  [R] 한 번 실행(R)  [S] 일시 중단(S)  [?] 도움말 (기본값은 "D"): r
 +
 +This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
 +(Call with -help for instructions)
 +
 +Logging to C:\Users\KooV\AppData\Local\Temp\ESXi-Customizer-PS-10000.log ...
 +
 +Running with PowerShell version 5.1 and VMware PowerCLI version 10.1.0.8344055
 +
 +Connecting the VMware ESXi Online depot ... [OK]
 +
 +Connecting the V-Front Online depot ... [OK]
 +
 +Getting Imageprofiles, please wait ... [OK]
 +
 +Using Imageprofile ESXi-6.7.0-20180804001-standard ...
 +(dated 08/09/2018 01:44:03, AcceptanceLevel: PartnerSupported,
 +For more information, see http://kb.vmware.com/kb/56535.)
 +
 +Load additional VIBs from Online depots ...
 +   Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [OK, added]
 +
 +Exporting the Imageprofile to 'C:\vmware\ESXi-6.7.0-20180804001-standard-customized.iso'. Please be patient ...
 +</code>
 +</WRAP>
 +
 +위의 작업이 정상적으로 종료되면 iso파일이 생성된다. 하지만 가끔 아래와 같은 오류가 발생하는 경우가 있다.
 +
 +<WRAP prewrap>
 +<code powershell>
 +An unexpected error occured:
 +[WinError 10054] ?????? ????????? ?????? ???????????? ?????? ????????? ???????????????
 +
 +If requesting support please be sure to include the log file
 +   C:\Users\KooV\AppData\Local\Temp\ESXi-Customizer-PS-10000.log
 +</code>
 +</WRAP>
 +
 +위 오류는 윈도우의 보안정책으로 인한 오류인데 관련 사항은
 +  * https://www.reddit.com/r/vmware/comments/89zo5z/trouble_generating_custom_iso_for_nuc7_connection/
 +  * https://twitter.com/VFrontDe/status/998868087586934785
 +등에서 찾아볼 수 있다.
 +
 +이 문제에 대한 해결책은 결론은 iso 파일을 바로 생성하지 않고 일단 zip 번들 파일로 만든 후 다시 iso로 변환하는 것이다.
 +
 +''-ozip'' 옵션을 추가하여 zip파일 형태로 이미지를 생성한다.
 +<WRAP prewrap>
 +<code powershell>
 +PS C:\vmware> .\ESXi-Customizer-PS-v2.6.0.ps1 -ozip -vft -load net55-r8168
 +</code>
 +</WRAP>
 +
 +''-izip'' 옵션을 이용하여 생성된 zip파일을 iso형태로 변환해준다.
 +<WRAP prewrap>
 +<code powershell>
 +PS C:\vmware> .\ESXi-Customizer-PS-v2.6.0.ps1 -izip .\ESXi-6.7.0-20180804001-standard-customized.zip
 +</code>
 +</WRAP>
 +
 +
 +===== Realtek Driver 포함 ISO image =====
 +  * {{ :vmware:esxi-6.7.0-20201104001-standard-customized.iso.zip |}}
  
 ===== 참조링크 ===== ===== 참조링크 =====
   * https://akhpark.wordpress.com/2017/01/19/enable-realtek-nic-on-vmware-vsphere-6-5/   * https://akhpark.wordpress.com/2017/01/19/enable-realtek-nic-on-vmware-vsphere-6-5/
 +  * https://advanxer.com/blog/2017/10/adding-realtek-8168811184118118-based-nics-to-esxi-6-5/
   * https://vibsdepot.v-front.de   * https://vibsdepot.v-front.de
  
  • esxi_realtek_driver_추가_방법.1507635445.txt.gz
  • 마지막으로 수정됨: 2017/10/10 11:37
  • 저자 koov